Welcome, Guest. Please Login or Register.
November 29, 2024, 08:39:19 AM
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 5 6 Reply Ignore Print
Author Topic: [Done 1.5.2] Short URLs 1.3  (Read 26260 times)
CokeCan
Full Member
***
Posts: 182


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

It looks like this:

Quote</tr><tr>
                        <td class="titlebg" bgcolor="' . $color['windowbg2'] . '" colspan="3" align="center"><b>' . $txt['yse294'] . '</b></td>
                     </tr><tr>
                        <td valign="top" class="windowbg2" bgcolor="' . $color['windowbg2'] . '"><a href="javascript:reqWin(\'' . $scripturl . '?action=helpadmin;help=m29\')" class="help"><img src="' . $imagesdir . '/helptopics.gif" border="0" alt="' . $txt[119] . '" /></a></td>
                        <td class="windowbg2" bgcolor="' . $color['windowbg2'] . '"><font size="2">' . $txt['yse110'] . '</font></td>
                        <td class="windowbg2" bgcolor="' . $color['windowbg2'] . '">
                           <select name="attachmentEnable">
                              <option value="0"' . $attachModeDisabled . '>' . $attachModes[0] . '</option>
                              <option value="1"' . $attachModeEnable . '>' . $attachModes[1] . '</option>
                              <option value="2"' . $attachModeNoNew . '>' . $attachModes[2] . '</option>
                           </select>
                        </td>

I think that there shouldn't be this line:

Quote</tr><tr>
                        <td class="titlebg" bgcolor="' . $color['windowbg2'] . '" colspan="3" align="center"><b>' . $txt['yse294'] . '</b></td>
Right? so I deleted it and keep on not working :'(

What can I do? :-\
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


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

Quote from: CokeCan on April 29, 2003, 03:51:53 AM
No, I didn't
I use BoardMOD

Would you mind copying the lines above and below the line that generated the error?

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


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

there it is :)
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Beta 1.5.2] Short Urls 1.0
« Reply #33 on: April 29, 2003, 04:11:45 AM »
Reply with quote

My mod shouldn't affect those lines.  Could you email me your entire ModSettings.php file?

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


WWW
Re:[Beta 1.5.2] Short Urls 1.0
« Reply #34 on: April 29, 2003, 04:14:52 AM »
Reply with quote

Sure, I am doing it
Thanks! ;D

This is a great mod, since I instaled it my forum is faster (I just have this little problem with my ModSettings :-\)
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Beta 1.5.2] Short Urls 1.0
« Reply #35 on: April 29, 2003, 04:32:42 AM »
Reply with quote

Find:
                           <input type="checkbox" name="enableShortURLs" value="1"' . ($modSettings['enableShortURLs'] == '1' : 'checked="checked"' : '') . ' />

Replace:
                           <input type="checkbox" name="enableShortURLs" value="1"' . ($modSettings['enableShortURLs'] == '1' ? 'checked="checked"' : '') . ' />

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


WWW
Re:[Beta 1.5.2] Short Urls 1.0
« Reply #36 on: April 29, 2003, 04:42:59 AM »
Reply with quote

It's working! Thanks!!! ;)
Logged
zeroweb
Noobie
*
Posts: 6


I'm a llama!

Re:[Beta 1.5.2] Short Urls 1.0
« Reply #37 on: May 01, 2003, 07:37:58 AM »
Reply with quote

Thanks!

One concern:

I am making calls from a non-Yabbse page to SSI.php, specifically to retrieve recentposts. This mod has knocked those URLS out fo commision. I am taking a look at it now, but thought i would mention.

Thanks a million,

-mark
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Beta 1.5.2] Short Urls 1.0
« Reply #38 on: May 01, 2003, 02:47:29 PM »
Reply with quote

Quote from: zeroweb on May 01, 2003, 07:37:58 AM
Thanks!

One concern:

I am making calls from a non-Yabbse page to SSI.php, specifically to retrieve recentposts. This mod has knocked those URLS out fo commision. I am taking a look at it now, but thought i would mention.

Thanks a million,

-mark

Right.  Good point :$.... I'll fix that when I take this out of beta.  (later today, methinks.)

For now, add this to SSI.php...

Find:
      extract($arr, EXTR_OVERWRITE);
}


Replace:
      extract($arr, EXTR_OVERWRITE);
}

$scripturl = $boardurl . '/index.php';
$cgi = $scripturl . '?' . ($modSettings['enableShortURLs'] ? '' : 'board=' . $board);


-[Unknown]
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Done 1.5.2] Short Urls 1.1
« Reply #39 on: May 01, 2003, 05:14:27 PM »
Reply with quote

Added the translations and SSI fix.  Everything should be fine now.

-[Unknown]
Logged
Egg
Full Member
***
Posts: 139


I'm a llama!

WWW
Re:[Done 1.5.2] Short Urls 1.1
« Reply #40 on: May 02, 2003, 11:34:25 AM »
Reply with quote

works a treat

thanks
Logged
CokeCan
Full Member
***
Posts: 182


WWW
Re:[Done 1.5.2] Short Urls 1.1
« Reply #41 on: May 08, 2003, 02:01:47 AM »
Reply with quote

How do I know if it working? because always that I go to my "Installed 'Mods' Settings and Options" it's uncheked :-\
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:[Done 1.5.2] Short Urls 1.1
« Reply #42 on: May 08, 2003, 02:16:34 AM »
Reply with quote

Quote from: CokeCan on May 08, 2003, 02:01:47 AM
How do I know if it working? because always that I go to my "Installed 'Mods' Settings and Options" it's uncheked :-\

You forgot to run the PHP file.  Thus, it's not working.

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


WWW
Re:[Done 1.5.2] Short Urls 1.1
« Reply #43 on: May 08, 2003, 03:12:31 AM »
Reply with quote


Sorry :-[

Now my forum is really faster! thanks!!! ;D
Logged
CokeCan
Full Member
***
Posts: 182


WWW
Re:[Done 1.5.2] Short Urls 1.1
« Reply #44 on: May 08, 2003, 03:57:10 AM »
Reply with quote

Hi again,
It has got problems with News.php :-\
I tred to do what do said for SSI.php but it didn't work, I hope you can help me.
Thanks!
Logged
Pages: 1 2 [3] 4 5 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.032 seconds with 20 queries.