PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
pdfx
Regular
Regular


Joined: Mar 13, 2008
Posts: 68

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

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: 535
Location: Santiago, Dominican Republic

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

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
View user's profile Send private message Visit poster's website
montego
Site Admin


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

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

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.
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum