Welcome, Guest. Please Login or Register.
November 27, 2024, 11:46:42 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  |  [beta 1.5.4] Relative URLs 1.3 « previous next »
Pages: 1 2 3 [4] Reply Ignore Print
Author Topic: [beta 1.5.4] Relative URLs 1.3  (Read 27478 times)
Anguz
YaBB God
*****
Posts: 641


llama me?!

WWW
Re:[beta 1.5.4] Relative Urls 1.3
« Reply #45 on: October 08, 2003, 03:01:19 AM »
Reply with quote

I guess it has to do with pfabb having more than just the forum... take a look at the relative_url function and play with the replace arrays

I'd do it like the other time, but I'm pretty busy these days, so I can't help you for a while.. sorry  :-\

good luck  :)
Logged

My Mods: Avatar & Sig Size Control, No Show Msg Subject, Msg URL Composer, Built-in Avatar Rand, Built-in Sig Rand, Remove New-lines Excess, Show All Stars, Search Bar, Smart URLs
Shadow's Pawn
Support Team
YaBB God
*****
Posts: 597


ich soll nicht toten

ICQ - 8039201shadowpawn@hotmail.com WWW
Re:[beta 1.5.4] Relative Urls 1.3
« Reply #46 on: October 08, 2003, 03:31:53 AM »
Reply with quote

No prob.  I'll play around with it tomorrow and let you know what I come up with either way.
Logged

apologize \A*pol"o*gize\, v. i. - To lay the foundation for a future offense.
Shadow's Pawn
Support Team
YaBB God
*****
Posts: 597


ich soll nicht toten

ICQ - 8039201shadowpawn@hotmail.com WWW
Re:[beta 1.5.4] Relative Urls 1.3
« Reply #47 on: October 08, 2003, 05:25:12 AM »
Reply with quote

Can you tell me what subjects I should be reading up on for this?  I am still fairly new to php.. I was reading up on strstr and strtr on php.net, but anything else I should be looking at?
Logged

apologize \A*pol"o*gize\, v. i. - To lay the foundation for a future offense.
Anguz
YaBB God
*****
Posts: 641


llama me?!

WWW
Re:[beta 1.5.4] Relative Urls 1.3
« Reply #48 on: October 08, 2003, 06:32:32 AM »
Reply with quote

I just tried the code from reply #28 and it's working in my pfabb install...

I insist you're probably missing the base tag

go to /pfabb/skins/yabbse/template.php and add this line inside the html head (you may need to do the same with the template file under skins/pfabb, but I haven't tested enough)

<base href="<?=$scripturl;?>" />

the problem with pfabb boards using spider_url is still there though, that if it says index.php/board-1 it doesn't work, so all you can have working fully for now seems to be relative_url
Logged

My Mods: Avatar & Sig Size Control, No Show Msg Subject, Msg URL Composer, Built-in Avatar Rand, Built-in Sig Rand, Remove New-lines Excess, Show All Stars, Search Bar, Smart URLs
Shadow's Pawn
Support Team
YaBB God
*****
Posts: 597


ich soll nicht toten

ICQ - 8039201shadowpawn@hotmail.com WWW
Re:[beta 1.5.4] Relative Urls 1.3
« Reply #49 on: October 08, 2003, 04:11:51 PM »
Reply with quote

The base tage is in every template file of every skin and it still does that.. I would think it might have something to do with the fact that the images directory is redefined in index.php by the skins mod.. but you said you got it working on your pfabb, so I guess that's not it.
Logged

apologize \A*pol"o*gize\, v. i. - To lay the foundation for a future offense.
Anguz
YaBB God
*****
Posts: 641


llama me?!

WWW
Re:[beta 1.5.4] Relative Urls 1.3
« Reply #50 on: October 08, 2003, 05:23:51 PM »
Reply with quote

Quote from: Shadow's Pawn on October 08, 2003, 04:11:51 PM
The base tage is in every template file of every skin and it still does that.. I would think it might have something to do with the fact that the images directory is redefined in index.php by the skins mod.. but you said you got it working on your pfabb, so I guess that's not it.

here's the link to mine

http://anguz.net/PfaBB07

good luck :)
Logged

My Mods: Avatar & Sig Size Control, No Show Msg Subject, Msg URL Composer, Built-in Avatar Rand, Built-in Sig Rand, Remove New-lines Excess, Show All Stars, Search Bar, Smart URLs
Anguz
YaBB God
*****
Posts: 641


llama me?!

WWW
Re:[beta 1.5.4] Relative Urls 1.3
« Reply #51 on: November 03, 2003, 11:22:42 PM »
Reply with quote

Quote from: dschwab9 on October 01, 2003, 02:08:16 AM
Ooooo, I like those URL's.  Wonder if that will work on mine  ;D

just released Smart URLs
http://www.yabbse.org/community/index.php?thread=26337

;)
Logged

My Mods: Avatar & Sig Size Control, No Show Msg Subject, Msg URL Composer, Built-in Avatar Rand, Built-in Sig Rand, Remove New-lines Excess, Show All Stars, Search Bar, Smart URLs
Pages: 1 2 3 [4] Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [beta 1.5.4] Relative 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.054 seconds with 20 queries.