redhairz
Newbie


Joined: Nov 28, 2006
Posts: 12
|
Posted:
Tue Oct 09, 2007 11:14 am |
|
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.
?> |
|
| |
|
montego
Site Admin/Owner


Joined: Feb 12, 2005
Posts: 946
|
Posted:
Tue Oct 09, 2007 10:24 pm |
|
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 |
|
montego
Site Admin/Owner


Joined: Feb 12, 2005
Posts: 946
|
Posted:
Wed Oct 10, 2007 9:21 pm |
|
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 |
|