Welcome, Guest. Please Login or Register.
May 09, 2024, 06:00:11 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Completed mods  |  [Done 1.5.2] Short URLs 1.3 « previous next »
Pages: 1 [2] 3 4 ... 6 Reply Ignore Print
Author Topic: [Done 1.5.2] Short URLs 1.3  (Read 24683 times)
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Beta 1.5.2] Short Urls 1.0
« Reply #15 on: April 26, 2003, 07:01:30 AM »
Reply with quote

Quote from: adamb10 on April 26, 2003, 06:15:40 AM
When I run shorturls.php I get thius error


Fatal error: Call to undefined function: template_header() in /usr/local/psa/home/vhosts/adamb10.4mtopia.com/httpdocs/yabb1/Sources/Errors.php on line 56

Possiblities:
- you aren't using 1.5.2.  Upgrade.
- you weren't logged in as administrator.  Log in first.

-[Unknown]
Logged
adamb10
Noobie
*
Posts: 24


I'm a llama!

Re:[Beta 1.5.2] Short Urls 1.0
« Reply #16 on: April 26, 2003, 07:04:53 AM »
Reply with quote

I upgraded to 1.5.2.  I can't log into the admin account for 2 reasons:

A. I get page cant be forund cause the admin buttons takes me to http://adamb10.4mtopia.com/yabb1/action;admin

And B: A hack that Installed with board mod is giving me fatal errors in the admin panel.
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Beta 1.5.2] Short Urls 1.0
« Reply #17 on: April 26, 2003, 07:27:20 AM »
Reply with quote

Please try uploading clean sources.  I'm very sorry about the first version of this mod, it caused the error.

You can fix it by trying to apply the change manually.  You'll notice what wasn't done.  It's in index.php near "Security Stuff".

-[Unknown]
Logged
adamb10
Noobie
*
Posts: 24


I'm a llama!

Re:[Beta 1.5.2] Short Urls 1.0
« Reply #18 on: April 26, 2003, 07:30:14 AM »
Reply with quote

I know nothing about php so I don't know what wasn't done
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Beta 1.5.2] Short Urls 1.0
« Reply #19 on: April 26, 2003, 07:34:27 AM »
Reply with quote

Quote from: [Unknown] on April 26, 2003, 07:27:20 AM
Please try uploading clean sources.

Just apply the mods again.... it's the best way, yes?

-[Unknown]
Logged
adamb10
Noobie
*
Posts: 24


I'm a llama!

Re:[Beta 1.5.2] Short Urls 1.0
« Reply #20 on: April 26, 2003, 07:38:21 AM »
Reply with quote

I can wait.  I put so much mods on my board.  I contacted the person who made the hack that scrrewed my board up and hopefulyl I will get a response.
Logged
adamb10
Noobie
*
Posts: 24


I'm a llama!

Re:[Beta 1.5.2] Short Urls 1.0
« Reply #21 on: April 26, 2003, 08:17:33 AM »
Reply with quote

Ok so whats the problerm under security stuff?  I got the mod that was screwewing up the board fixed.
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Beta 1.5.2] Short Urls 1.0
« Reply #22 on: April 26, 2003, 08:37:51 AM »
Reply with quote

In index.php, find:
/* ### Security stuff ### */

And replace it with:
$scripturl = ($modSettings['enableShortURLs'] ? '' : $boardurl . '/') . 'index.php';
$cgi = $scripturl . '?' . ($modSettings['enableShortURLs'] && empty($board) ? '' : 'board=' . $board);

/* ### Security stuff ### */


This has been fixed in the mod/YaBBpak files already.

-[Unknown]
Logged
Daniel D.
Mod Team
YaBB God
*****
Posts: 2935


Re:[Beta 1.5.2] Short Urls 1.0
« Reply #23 on: April 26, 2003, 09:05:51 AM »
Reply with quote

German:

$txt['shorturls'] = 'Verkürzte URLs aktivieren?';
$helptxt['m_shorturls'] = 'Benutzt nicht die volle URL innerhalb von Links. Dies kann die benötigte Bandbreite des Forums geringfügig optimieren.';
Logged

old dan
Full Member
***
Posts: 191


Make music, not war.

WWW
Re:[Beta 1.5.2] Short Urls 1.0
« Reply #24 on: April 28, 2003, 10:22:12 AM »
Reply with quote

What's the difference between your mod and setting $boardurl in settings.php to your boards directory? i.e.
$boardurl = "/Yabbse";

thanks,
Dan
Logged

People who drink lite beer don't like the taste of beer; they just like to pee a lot
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Beta 1.5.2] Short Urls 1.0
« Reply #25 on: April 28, 2003, 11:28:30 PM »
Reply with quote

Quote from: old dan on April 28, 2003, 10:22:12 AM
What's the difference between your mod and setting $boardurl in settings.php to your boards directory? i.e.
$boardurl = "/Yabbse";

thanks,
Dan

The boardurl is used in different places, for example the cookie, etc.  This just makes it so that your boardurl can still be set correctly but links can be inside.

-[Unknown]
Logged
CokeCan
Full Member
***
Posts: 182


WWW
Re:[Beta 1.5.2] Short Urls 1.0
« Reply #26 on: April 29, 2003, 03:17:33 AM »
Reply with quote

Spanish:

Quote$txt['shorturls'] = '¿Activar URLs acortadas?';
Logged
CokeCan
Full Member
***
Posts: 182


WWW
Re:[Beta 1.5.2] Short Urls 1.0
« Reply #27 on: April 29, 2003, 03:38:09 AM »
Reply with quote

I instaled it and when I try to get in "Installed 'Mods' Settings and Options"
I get this error :-\

Quote
Parse error: parse error, unexpected ':' in /jumpgate/roxette/usersites/runto/content/forum/Sources/ModSettings.php on line 533

Fatal error: Call to undefined function: modifymodsettings() in /jumpgate/roxette/usersites/runto/content/forum/index.php on line 314
« Last Edit: April 29, 2003, 03:38:58 AM by CokeCan » Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Beta 1.5.2] Short Urls 1.0
« Reply #28 on: April 29, 2003, 03:46:05 AM »
Reply with quote

Quote from: CokeCan on April 29, 2003, 03:38:09 AM
I instaled it and when I try to get in "Installed 'Mods' Settings and Options"
I get this error :-\

Quote
Parse error: parse error, unexpected ':' in /jumpgate/roxette/usersites/runto/content/forum/Sources/ModSettings.php on line 533

Fatal error: Call to undefined function: modifymodsettings() in /jumpgate/roxette/usersites/runto/content/forum/index.php on line 314

Did you do it manually?  It should look something like this:

                        <td class="windowbg2" bgcolor="' . $color['windowbg2'] . '">
                           <input type="checkbox" name="enableShortURLs" value="1"' . ($modSettings['enableShortURLs'] == '1' ? 'checked="checked"' : '') . ' />
                        </td>


-[Unknown]
Logged
CokeCan
Full Member
***
Posts: 182


WWW
Re:[Beta 1.5.2] Short Urls 1.0
« Reply #29 on: April 29, 2003, 03:51:53 AM »
Reply with quote

No, I didn't
I use BoardMOD
Logged
Pages: 1 [2] 3 4 ... 6 Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [Done 1.5.2] Short URLs 1.3 « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.060 seconds with 19 queries.