Montego Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic
Author Message
redhairz
Newbie
Newbie



Joined: Nov 28, 2006
Posts: 12

PostPosted: Tue Oct 09, 2007 11:14 am Reply with quote

Hey montego i install the previous RN version for testing first becos of the cookie problem in 2.10.01. i have added the shortlink code to the config file as shown below is that right?

Code:
$display_errors = FALSE;  //This should only be used (set to TRUE) when testing locally and not in a production environment
/*********************************************************************/
/* The following settings have been added for use in RavenNuke76     */
/*********************************************************************/
$bypassNukeSentinelInvalidIPCheck = FALSE;  //This should only be used (set to TRUE) when testing locally and not in a production environment
$bypassInstallationFolderCheck    = FALSE;  //This should only be used (set to TRUE) when testing locally and not in a production environment

/*********************************************************************/
/* You have finished configuring the Database settings. Now you can  */
/* change all you want in the Administration Section. To enter, just */
/* point your web browser to http://yourdomain.com/admin.php         */
/*                                                                   */
/* Remember to go to Settings section where you can configure your   */
/* new site. In that menu you can change all you need to change.     */
/*                                                                   */
/* Congratulations! now you have an automated news portal!           */
/* Thanks for choosing PHP-Nuke: The Future of the Web               */
/*********************************************************************/

// DO NOT TOUCH ANYTHING BELOW THIS LINE UNTIL YOU KNOW WHAT YOU'RE DOING

$reasons = array("As Is","Offtopic","Flamebait","Troll","Redundant","Insighful","Interesting","Informative","Funny","Overrated","Underrated");
$badreasons = 4;
$AllowableHTML = array("b"=>1,"i"=>1,"u"=>1,"div"=>2,"a"=>2,"em"=>1,"br"=>1,"strong"=>1,"blockquote"=>1,"tt"=>1,"li"=>1,"ol"=>1,"ul"=>1);
$CensorList = array("fuck","cunt","fucker","fucking","pussy","cock","c0ck","cum","twat","clit","bitch","fuk","fuking","motherfucker");
// Nuke Patched 3.1
// Further enhanced by Raven at http://ravenphpscripts.com

/*********************************************************************/
/* TegoNuke(tm) ShortLinks Configuration Options
/*********************************************************************/
$tnsl_bUseShortLinks   = FALSE;  //Setting this to TRUE will cause RavenNuke(tm) to shorten the URLs in GoogleTap/GTNG fashion.
$tnsl_bAutoTapBlocks   = FALSE;  //Setting this to TRUE will cause RavenNuke(tm) to shorten the URLs automatically for block files.
$tnsl_bAutoTapLinks    = FALSE;  //Setting this to TRUE will cause RavenNuke(tm) to search for additional untapped links and attempt to shorten them - could slow down your site
$tnsl_bDebugShortLinks = FALSE;  //Setting this to TRUE will cause the ShortLinks function to display debugging information.







?>
 
View user's profile Send private message
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1399

PostPosted: Tue Oct 09, 2007 10:24 pm Reply with quote

Yes, that looks right for that file. Hopefully you have added the necessary code to the other core files.

Once everything is set up and the rewrite rules have been added to .htaccess (and the RewriteEngine is set to on), setting these two variables to true like this will turn them on:

$tnsl_bUseShortLinks = true;
$tnsl_bAutoTapBlocks = true;

_________________
“To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins 
View user's profile Send private message Visit poster's website
redhairz
Newbie
Newbie



Joined: Nov 28, 2006
Posts: 12

PostPosted: Wed Oct 10, 2007 2:48 pm Reply with quote

thanks for the help i hope it will work for the older version of the RN. Smile not sure how it would turn out.
 
View user's profile Send private message
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1399

PostPosted: Wed Oct 10, 2007 9:21 pm Reply with quote

It works just fine. I ran it here on this site before moving to 2.10.x. If you find specific issues, we'll try and work through them.

_________________
“To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins 
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


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 4 Hours
 
Forums ©
linear-bunch
linear-bunch