Jump to content


- - - - -

[NG23] News System v1.1.1


  • Please log in to reply
14 replies to this topic

#1 NuclearGeneral

NuclearGeneral

    Advanced Member

  • Modders
  • PipPipPipPip
  • 77 posts
  • Real Name:Donald
  • IPB Version:v3.0.x
Contributor

Posted 18 November 2006 - 05:39 AM

File Name: [NG23] News System v1.1.1
File Submitter: NuclearGeneral
File Submitted: 17 Nov 2006
File Updated: 27 Jul 2009
File Category: IP.Board v2.2.x Mods

For Official Support, please visit Tiberium Studios

This is licensed under the Invisionize.com "Credit License" located here: LINK.

Demo URL: http://www.tiberiumstudios.net/demo/news_demo.php

A News System That Exports News From IPB 2.3.x
Shows Posters Username, # Comments For A Topic, News Title, and Date Posted.

-----------------------------------------------------------
This mod is available from Invisionize.com & InvisionModding.com, TiberiumStudios.net & CodersRefuge.com ONLY!
-----------------------------------------------------------

This News System is also compatible with IPB 2.1.x, 2.2.x, 2.3.x

-----------------------------------------------------------

This mod is also compatible with any Forum CSS, with the exception that this CSS code is added:

.gensmall {
                font-size: 10px;
}

-----------------------------------------------------------
V1.1.1 /* Seventh Initial Release Of Modification - July 27, 2009 */
-- Updated Readme File.
-- Added Screenshot Of Mod.
-- Added Images For Additional Links.
-- Added Links For: Print Topic, Email Topic, Download Topic.
-- Added Links For: PM Member, Find Topics, Find Posts.
-----------------------------------------------------------

V1.1.0 /* Sixth Initial Release Of Modification - July 27, 2009 */
New Featues As Of July 27, 2009
-- The Members Avatar is Now Displayed For Poster Of The News Topic.
-- The Members Group Is Now Displayed.
-- Members Group Is Colored Formatted From IPB'S Group Prefix.
-- The Members Join Date Is Now Displayed.
-- Posters Post Count Is Displayed.
-- Members Title Is Now Displayed.
These Added Customizations Were Added By Michael McCune of CodersRefuge.
-- Word Wrapping Has Been Tested And Has NOT Been Included In The News System. Word Wrapping Does Not Work Correctly And Thus Will Not Be Included In Any Version Of This Mod.

-----------------------------------------------------------

V1.0.4 /* Fifth Initial Release Of Modification July 25, 2009 */

-- Changed m.name to m.members_display_name to fix an error if you have IP.Converge installed.
-- Fixed a few other minor issues.

-----------------------------------------------------------

V1.0.3 /* Fourth Initial Release Of Modification */

-- Fixed some HTML coding errors that caused text to appear to large

-----------------------------------------------------------

V1.0.2 /* Third Initial Release Of Modification */

-- Fixed some HTML coding errors
-- Added v1.0.1 changes (Forgot to add when changes were edited)
-- Updated Read Me File

-----------------------------------------------------------
V1.0.1 /* Second Initial Release Of Modification */

-- Edited Copyright

-----------------------------------------------------------
V1.0.0 /* First Initial Release Of Modification */

Features:
-- Shows The Posters Username
-- Link To Posters Forum Profile (Also A "Title" Tag Added. (E.G.: 'Click To Visit Such And Such's Profile!'))
-- # Of Comments Per Topic
-- The Date The Topic Was Posted (E.G.: Saturday, November 11, 2006 10:52 AM)
-- Topic Title (Also A "Title" Tag Added. (E.G.: 'Topic Title's Title'))
-- Add Reply Link (Also A "Title" Tag Added. (E.G.: Add A Reply To: 'Such And Such Topic'))
-- A 'Get Last Post' Link (Also A "Title" Tag Added. (E.G.: 'Click For Last Post Made!'))
-- Page Selector!

Note: If you want Copyright Removal, you must pay a fee of $10 USD.
Removing copyright without the consent of the author is PROHIBITED!!

-----------------------------------------------------------
EDIT: This mod is intended to be used as a PHP Include. (For most CSS style sheets to work correctly with this mod.)

-----------------------------------------------------------
EDIT (2):

Tags Code Explanations:

CODE
<!-- TITLE -->   =   Topic Title
<!-- POST -->   =   Topic Post
<!-- TIME -->   =   Date
<!-- AUTHOR -->    =   The Authors Name
<!-- REPLIES -->    =   # Of Replies
<!-- FORUM -->    =   Forum URL
<!-- AVATAR -->    =   Members Avatar
<!-- MTITLE -->    =   Members Title
<!-- GROUP -->    =   Members Group
<!-- JOINED -->    =   Members Join Date
<!-- POSTCOUNT -->    =   Members Post Count


-----------------------------------------------------------
Edit (3):
If anyone would like to remove the Copyright at the bottom of my script, Copyright Removal is a fee of $10 USD.
I have also updated my EMail address where people may email me about questions for this mod.

Upgrade Terms & Conditions For "[NG22] News System"

Any user may upgrade/add new extra features to this Modification WITH my permission to do so. The user to add new features to this modification MUST contact me VIA EMail (nucleargeneral[at]live[dot]com?subject=NG22 News Mod Continuance) asking permission. I will examine and approve any customizations added, if I approve the customization, I will add the customized modification for download with credit for that customization added.

Thanks,
~NuclearGeneral

Click here to download this file

#2 Vince

Vince

    Lead Developer

  • Modders
  • PipPipPipPipPipPipPipPipPipPip
  • 3,973 posts
  • Location:California, USA / Israel
  • Real Name:Vince
  • IPB Version:v3.1.x
Contributor

Posted 18 November 2006 - 05:41 PM

Sounds Great Thanks.
Vince Gabriel, Lead Developer.
Posted ImagePosted ImagePosted Image


Zend Certified Engineer.
Zend Framework Certified Engineer.
-- Email: vadimg88@gmail.com
-- Phone: +972-52-3808258
-- Skype: vadim.gabriel
-- Website: http://www.vadimg.com

formerly known as vadimg88

#3 majesty

majesty

    Advanced Member

  • Members
  • PipPipPipPip
  • 51 posts
  • Real Name:Vinny
  • IPB Version:v2.2.x

Posted 22 December 2006 - 06:16 AM

It should be Invisionviet.net (not .com) smile2.gif

#4 barroca

barroca

    Advanced Member

  • IM Supporters
  • PipPipPipPip
  • 52 posts
  • Location:Rio de Janeiro, Brasil
  • Real Name:Barroca
  • IPB Version:v2.3.x

Posted 09 January 2007 - 03:50 AM

I don't know what i'm doing wrong sad.gif

In line 56 i copy - host/ user and passwd exactly how is in confglobal and no works!
QUOTE
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'nobody'@'localhost' (using password: NO) in /home/xxxxxxx/public_html/v22/forums/news.php on line 56
mysql_connect(): Access denied for user 'nobody'@'localhost' (using password: NO)


tks in advance
Joao Barroca

#5 NuclearGeneral

NuclearGeneral

    Advanced Member

  • Modders
  • PipPipPipPip
  • 77 posts
  • Real Name:Donald
  • IPB Version:v3.0.x
Contributor

Posted 09 January 2007 - 06:42 PM

You don't copy your MySQL Host, Username, and Password into the script. It gets its information from your forums conf_global.php file.
You change the path to you forum by change this line:
(Do NOT add a trailing slash.)
CODE
$cfg['forum_path']  = "./forums";


And this line MUST stay the same:

CODE
require_once( $cfg['forum_path'] . "/conf_global.php" );


#6 barroca

barroca

    Advanced Member

  • IM Supporters
  • PipPipPipPip
  • 52 posts
  • Location:Rio de Janeiro, Brasil
  • Real Name:Barroca
  • IPB Version:v2.3.x

Posted 10 January 2007 - 02:46 AM

Tks
I will try now smile.gif

#7 THshadow

THshadow

    Coder

  • IM Supporters
  • PipPipPipPipPip
  • 131 posts
  • IPB Version:N/A

Posted 11 June 2007 - 09:10 PM

Is there anyway to make this Parse BBcode ?

I use a youtube bbcode on my site and some of my news has a video in it. On the front of the site it says LINK so its not parsing it and doing what it should.


How hard would this be to add ?


And yes i understand this is an old topic  smile.gif

#8 Jayman203

Jayman203

    Novice

  • Members
  • PipPip
  • 12 posts
  • Real Name:jesus
  • IPB Version:v2.3.x

Posted 28 September 2007 - 09:03 PM

this is compatible with ipb 2.3.1 right?


#9 Depot

Depot

    Invision Modding.com Helper - Type - Person

  • IM Supporters
  • PipPipPipPipPipPipPipPipPipPip
  • 5,573 posts
  • Location:NE Florida
  • Real Name:Larry C
  • IPB Version:v2.3.x
Contributor

Posted 28 September 2007 - 09:07 PM

I'm not sure Jayman, and the author hasn't been on here in 8 months.

I'll try to find out.

- - - - nsMod Community Forums - - - -

Posted Image Services System Modification Installation FAQ Invision Modding Store Posted Image

I DO: IPB UPGRADES, MOD INSTALLS, DATABASE BACKUPS & RESTORATION, CUSTOM SKINS, SITE TRANSFERS

IMPORTANT - READ THIS BEFORE YOU PM ME!!!

Do not ask me for assistance / provide me with your url if you own a nullified board - IM Staff will be notified.


#10 Aeolus

Aeolus

    Programmer

  • IM Supporters
  • PipPipPipPipPipPip
  • 416 posts
  • Location:Taiwan
  • IPB Version:v3.1.x
Contributor

Posted 29 September 2007 - 12:05 AM

Hi,

Sounds great.  biggrin.gif

But the demo link is not available at this time.

Is there any screen shot ?

Thanks.

#11 Depot

Depot

    Invision Modding.com Helper - Type - Person

  • IM Supporters
  • PipPipPipPipPipPipPipPipPipPip
  • 5,573 posts
  • Location:NE Florida
  • Real Name:Larry C
  • IPB Version:v2.3.x
Contributor

Posted 29 September 2007 - 12:14 AM

Compatibility: Invision Power Board v2.2 & 2.3

- - - - nsMod Community Forums - - - -

Posted Image Services System Modification Installation FAQ Invision Modding Store Posted Image

I DO: IPB UPGRADES, MOD INSTALLS, DATABASE BACKUPS & RESTORATION, CUSTOM SKINS, SITE TRANSFERS

IMPORTANT - READ THIS BEFORE YOU PM ME!!!

Do not ask me for assistance / provide me with your url if you own a nullified board - IM Staff will be notified.


#12 HumanAcid

HumanAcid

    n00b

  • Members
  • Pip
  • 3 posts
  • Real Name:Mohammed
  • IPB Version:N/A

Posted 30 September 2007 - 02:42 AM

hi there
can any one help me !!!

i dont know / understand how to make the edit

i saw Mr.Depot said that is compatible wz 2.3.1>>> OK

now i dont understand how 2 edit and after download there is file named new.php

where am i suppose 2 upload which directory
and how 2 edit css

thnks

#13 Rocky

Rocky

    Programmer

  • IM Supporters
  • PipPipPipPipPipPip
  • 442 posts
  • IPB Version:v3.0.x

Posted 30 September 2007 - 03:25 AM

This is an auto-reply to your post: Because your post was unclear or a lack of information was provided, we ask that you double check your installation and ensure first of all that all files and folders have been properly uploaded to the remote site and have followed the correct directory structure. Secondly go over all of your file edits to ensure there are no errors. Thirdly it's advised you read our Modification Installation FAQ which answers common questions and shows common errors. Last but not least,  check to ensure you are installing the correct version for your board.

Once you've done all of the above and you still have issues then post here again, being specific and as detailed as possible. If all of this seems to be a bit complicated to you, select Services from the Member Links dropdown on the upper right and submit a New Ticket - we install mods and skins for reasonable fees.

#14 NuclearGeneral

NuclearGeneral

    Advanced Member

  • Modders
  • PipPipPipPip
  • 77 posts
  • Real Name:Donald
  • IPB Version:v3.0.x
Contributor

Posted 23 April 2008 - 09:10 AM

Hi, sorry for not trying to help anyone out on their problems with this mod.

Shortly after I designed this mod and posted it on several IPB mod sites, I lost access to the internet for a year, then finally got the internet put in my name 3 weeks ago.

But anywho... I've been noticing people having some issues with this news script. I'll describe how I have this script setup to work the way it was made too work.

First of all, I do believe I stated in the post that this mod is to be intended as a PHP Include.

NuclearGeneral said:

-----------------------------------------------------------
EDIT: This mod is intended to be used as a PHP Include. (For most CSS style sheets to work correctly with this mod.)

-----------------------------------------------------------

***See, I "DID" state that in the first post!!***

Second of all, here is how I have it setup:

1.) I have the news.php file inside my ./forums/ directory.
2.) I use a PHP Include Code:
<?PHP INCLUDE("forums/news.php")?>

The designed layout of the news script is based on my sites layout.

	/* EDIT THE DISPLAY DESIGN BELOW - CAREFUL (BEGIN) */
$sTemplate = <<<EOT
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
  <tr>
	<th class="thTop" height="20"><A NAME="<!-- TOPIC -->" title="<!-- TITLE -->"><FONT class="topic_title"><!-- TITLE --></FONT></a></th>
  </tr>
  <tr>
	<td class="row1" align="left" width="100%">
	  <span class="gensmall">
	  Posted on <B><!-- TIME --></B> by <a href="<!-- FORUM -->/index.php?showuser=<!-- USER -->" target="_blank" title="Click Here For <!-- AUTHOR -->'s Profile!"><B><!-- AUTHOR --></B></a>
<HR size="1" class="hr" />
	  <div align="left"><!-- POST --></div>
	  </span>
<HR size="1" class="hr" />
	  <span class="gensmall">
<div align="right">
<a href="<!-- FORUM -->/index.php?showtopic=<!-- TOPIC -->" title="View This Topic" target="_blank">&raquo; View Topic &laquo;</a> [<!-- REPLIES -->] | <a href="<!-- FORUM -->/index.php?act=post&amp;do=reply_post&amp;f=6&amp;t=<!-- TOPIC -->" title="Add A Reply To: <!-- TITLE -->" target="_blank">&raquo; Reply To This Topic &laquo;</a> | <a href="<!-- FORUM -->/index.php?showtopic=<!-- TOPIC -->&amp;view=getlastpost" title="Click For Last Post Made!" target="_blank">&raquo; <IMG src="<!-- FORUM -->/style_images/1/lastpost.gif" alt="Click For Last Post Made!" valign="top" border="0" /> &laquo;</a> | <A HREF="java script:scroll(0,0);" title="Top Of Page">&raquo; Top &laquo;</A>
</div>
<HR size="1" class="hr" />
	  </span>
	</td>
  </tr>
</table>
<BR />
EOT;

	/* EDIT THE DISPLAY DESIGN BELOW - CAREFUL (END) */

***NOTE: DO NOT REMOVE "$sTemplate = <<<EOT" OR "EOT;" CODES. IT IS THE BASE OF THE HTML CODING FOR THE NEWS SCRIPT!!!***

The code you see above can be edited "Completely" to your liking and is found the same way inside the news.php file when you download the script.

There is also a section in the readme file that explains which tags to which task.

If you need help installing my script, I will install it for you for "FREE" seeing as I wasn't here to help you when you needed it lol.

Now then, if you continue to have troubles with this mod, please don't hesitate to send me an "email" to nucleargeneral[at]live[dot].com or webmaster[at]tiberiumstudios[dot]net. But please do not send me SPAM emails.

NOTE: The currently uploaded file works correctly the was it was intended to. If you are trying to use it in a different way, then yes you will get some error messages. But I strongly suggest you use it in the intended way as I stated the first time.

Thanks,
         NuclearGeneral

**POST CHANGES DONE IN RED***

Edited by NuclearGeneral, 23 April 2008 - 09:12 AM.


#15 Neshom

Neshom

    Member

  • Banned
  • PipPipPip
  • 48 posts
  • IPB Version:N/A

Posted 13 August 2008 - 06:23 AM

where is should this code added exactly in CSS ? ;)

.gensmall {
font-size: 10px;
}

and Get This error

Warning: require_once(/conf_global.php) [function.require-once]: failed to open stream: No such file or directory in /home/noshomus/public_html/forums/news.php on line 54

Fatal error: require_once() [function.require]: Failed opening required '/conf_global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/noshomus/public_html/forums/news.php on line 54

line 45

require_once( $cfg['/home/......../public_html/forums'] . "/conf_global.php" );

Edited by Neshom, 13 August 2008 - 07:02 AM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users