Welcome, Guest. Please Login or Register.
November 25, 2024, 10:44:38 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Completed mods  |  [beta 1.5.4] Smart URLs v2.1 « previous next »
Pages: 1 ... 4 5 [6] 7 8 ... 18 Reply Ignore Print
Author Topic: [beta 1.5.4] Smart URLs v2.1  (Read 212922 times)
Shadow's Pawn
Support Team
YaBB God
*****
Posts: 597


ich soll nicht toten

ICQ - 8039201shadowpawn@hotmail.com WWW
Re:[beta 1.5.4] Smart Urls v1.0
« Reply #75 on: November 25, 2003, 06:19:50 AM »
Reply with quote

I know, I had just submitted it when I posted that.  I'll let you all know what kind of results I get once google makes it's run.
Logged

apologize \A*pol"o*gize\, v. i. - To lay the foundation for a future offense.
dschwab9
Full Member
***
Posts: 144


I'm a llama!

WWW
Re:[beta 1.5.4] Smart Urls v1.0
« Reply #76 on: November 25, 2003, 06:53:15 PM »
Reply with quote

Quote from: Omar Bazavilvazo on November 24, 2003, 10:10:07 PM
you need to submit the site to goggle, to ask for a visit from the bot. otherwise, that will never happen

Sometimes it helps on a new site, but you do not have to submit to Google.  It will follow links from other sites to find you, and, once it finds you, it will keep coming back to look for new material.
Logged
newbieyabbie
Jr. Member
**
Posts: 83


ahead warp nine

Re:[beta 1.5.4] Smart Urls v1.0
« Reply #77 on: November 25, 2003, 07:03:40 PM »
Reply with quote

Hi all.
I just installed this mod. It works only if I enabe all three; friendly. smart and relative URLs, nothing happens if one or two are enabled. Also the index page loads at normal(ish) speed; like 0.36, but once you're deeper into different boards and threads it becomes very sloooow, like 5.236 to 9.87.
I have a small board with only 62 members of which only less than 10 are posters.
Does this use more CPU resources, because if so, I am afraid my host would shut me down.
Any help is really appreciated. Thanks
« Last Edit: November 25, 2003, 07:04:33 PM by newbieyabbie » Logged

Go beyond what you know!
newbieyabbie
Jr. Member
**
Posts: 83


ahead warp nine

Re:[beta 1.5.4] Smart Urls v1.0
« Reply #78 on: November 26, 2003, 04:50:53 AM »
Reply with quote

Anyone? I really could use a little advise :'(
Logged

Go beyond what you know!
Anguz
YaBB God
*****
Posts: 641


llama me?!

WWW
Re:[beta 1.5.4] Smart Urls v1.0
« Reply #79 on: November 26, 2003, 06:21:03 AM »
Reply with quote

Quote from: newbieyabbie on November 26, 2003, 04:50:53 AM
Anyone? I really could use a little advise :'(

relative_url is the one that takes so long... turn that one off
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
newbieyabbie
Jr. Member
**
Posts: 83


ahead warp nine

Re:[beta 1.5.4] Smart Urls v1.0
« Reply #80 on: November 26, 2003, 03:20:21 PM »
Reply with quote

Thanks, much better now, I'll let you know google results maybe next week, I think.
Logged

Go beyond what you know!
Anguz
YaBB God
*****
Posts: 641


llama me?!

WWW
Re:[beta 1.5.4] Smart Urls v1.0
« Reply #81 on: November 26, 2003, 08:49:29 PM »
Reply with quote

a quick change to make the links to boards and threads relative (absolute actually) without the relative_url function, without waiting for my next release :P

in the friendly_url function, search for this:

return $match['1'] . $kwDirs . preg_replace($arr1_friendly, $arr2_friendly, $match['2']) . $match['3'];

and replace with this

return $pboardurl['path'] . '/index.php' . $kwDirs . preg_replace($arr1_friendly, $arr2_friendly, $match['2']) . $match['3'];

a few lines above that, add $pboardurl to the list of variables made global inside the function

also, find this line

if($modSettings['smartUrl'] == '1'){

and add after

$pboardurl = parse_url($boardurl);

with this, you won't have to turn relative_url on to change the full urls in those links :)
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] Smart Urls v1.0
« Reply #82 on: November 26, 2003, 08:56:28 PM »
Reply with quote

one quick comment...

changing the relative_url function for the above code, will make the mod a hell lot faster, taking the same time as friendly_url alone (actually it's that way), which for me it's ranged from 0.002 secs in boardindex to 0.011 secs in a thread page

and the code to replace the preg_replace_callback should only be used only if that function really doesn't work for you, cause it can make the mod take twice as long or more (although it's pretty fast anyway)
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
pege
Full Member
***
Posts: 146


Re:[beta 1.5.4] Smart Urls v1.0
« Reply #83 on: November 26, 2003, 10:41:41 PM »
Reply with quote

I'll have to check into this, but still looking forward to the next release.  I can't believe I'm the only one who is not enjoying the benefits of this great mod on my apache with php 4.2.2.  

By the way, thanks for changing your avatar.  This one's much better, and the other one made me sick :).
Logged
Shadow's Pawn
Support Team
YaBB God
*****
Posts: 597


ich soll nicht toten

ICQ - 8039201shadowpawn@hotmail.com WWW
Re:[beta 1.5.4] Smart Urls v1.0
« Reply #84 on: November 26, 2003, 11:40:49 PM »
Reply with quote

My son thought the other avatar was hilarious.
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] Smart Urls v1.0
« Reply #85 on: November 27, 2003, 07:35:19 PM »
Reply with quote

my kids and I found it very funny too hehe... and although others did too, I thought that some, like you, would be annoyed, so I changed it... btw, it's taken from a japanese tv commercial... I had a url somewhere...
http://www.stinky.com/anabu/index.html

back to the mod... I'm finally working on the new release, probably the last one

I'll add what's been mentioned in this thread PLUS an option to not use output buffering, for all those who're having trouble...

I'll setup a paypal account in a bit for donations... just joking  ;D
« Last Edit: November 27, 2003, 07:37:11 PM by Anguz » 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
pege
Full Member
***
Posts: 146


Re:[beta 1.5.4] Smart Urls v1.0
« Reply #86 on: November 28, 2003, 12:43:09 AM »
Reply with quote

Thanks Anguz...well, you guys deserve donations (he says as he continues using the forum software for free)... :)
Logged
Symetrical
Jr. Member
**
Posts: 62


I'm a llama!

Re:[beta 1.5.4] Smart Urls v1.0
« Reply #87 on: December 02, 2003, 03:30:14 PM »
Reply with quote

Quote from: Anguz on November 27, 2003, 07:35:19 PM
my kids and I found it very funny too hehe... and although others did too, I thought that some, like you, would be annoyed, so I changed it... btw, it's taken from a japanese tv commercial... I had a url somewhere...
http://www.stinky.com/anabu/index.html

back to the mod... I'm finally working on the new release, probably the last one

I'll add what's been mentioned in this thread PLUS an option to not use output buffering, for all those who're having trouble...

I'll setup a paypal account in a bit for donations... just joking  ;D

Add support for portals and we might make a few donations!
Logged
Cerberus
Full Member
***
Posts: 100


Who's a llama?!

WWW
Re:[beta 1.5.4] Smart Urls v1.0
« Reply #88 on: December 02, 2003, 06:29:24 PM »
Reply with quote

Adding PfaBB support would be great :D !!!
Logged

Best Regards, Cerberus
Check out http://www.pocketpcrussia.com :)
Shadow's Pawn
Support Team
YaBB God
*****
Posts: 597


ich soll nicht toten

ICQ - 8039201shadowpawn@hotmail.com WWW
Re:[beta 1.5.4] Smart Urls v1.0
« Reply #89 on: December 03, 2003, 12:57:54 AM »
Reply with quote

That's funny Cerberus.

I haven't tried this mod on either Enigma or Pfabb.. wonder if it will work?
Logged

apologize \A*pol"o*gize\, v. i. - To lay the foundation for a future offense.
Pages: 1 ... 4 5 [6] 7 8 ... 18 Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [beta 1.5.4] Smart URLs v2.1 « 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.071 seconds with 20 queries.