Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> ShortLinks/TegoNuke
Author Message
pdfx
Regular
Regular



Joined: Mar 13, 2008
Posts: 68

PostPosted: Mon Apr 21, 2008 10:58 am Reply with quote

Hello all..

I just initated the Dynamic titles hack on my Rnuke site.

On the hack pages there was some info on this quoted below..
Basically all im asking is, how do you add in the includes/dynamic_titles.php script so that all my extra modules and content pages get dynamic titles?


"$useDynamicTitles = false; <-- Setting this to true will cause your nuke page titles to by dynamic per module.

NOTE: The above is the default setting. You must change this to get the titles to be dynamically produced.

The following modules will have their page titles dynamically generated:
Content
Downloads
Encyclopedia
Forums
News
Reviews
Story Archive
Topics
Web Links

You can certainly add your own by simply adding additional IF statements within the includes/dynamic_titles.php script."

P
 
View user's profile Send private message
jestrella
Moderator



Joined: Dec 01, 2005
Posts: 593
Location: Santiago, Dominican Republic

PostPosted: Mon Apr 21, 2008 1:42 pm Reply with quote

You have to manually add some extra code to the file mentioned above. This could be a little tricky as you may have to know a bit how the desired module is structured, but you can take, for example, News as a template to create a new one. You will just need to change some variables and some sql queries...

Happy coding Razz

_________________
"For those whom have not reach the sky... Every mountain seems high"

Best Regards
Jonathan Estrella [ Only registered users can see links on this board! Get registered or login! ] 
View user's profile Send private message Visit poster's website
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Tue Apr 22, 2008 6:31 am Reply with quote

slaytanic_wehrmacht, not sure I could have said it better. Wink Thanks.

pdfx, yes, unfortunately you do need to be at least familiar with the various pages within the given module and how they are initiated through the various links that you click. News is a good example, as slaytanic has mentioned, as well as Forums. If you looks the variables that are in the links, you should be able to correlate those to what I have done within dynamic_titles.php and then "roll your own" for your other modules.

_________________
Where Do YOU Stand?
HTML Newsletter::ShortLinks::Mailer::Downloads and more... 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> ShortLinks/TegoNuke

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©