Welcome, Guest. Please Login or Register.
November 25, 2024, 11:25:33 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 ... 7 8 [9] 10 11 ... 18 Reply Ignore Print
Author Topic: [beta 1.5.4] Smart URLs v2.1  (Read 212923 times)
pege
Full Member
***
Posts: 146


Re:[beta 1.5.4] Smart Urls v2.0
« Reply #120 on: December 09, 2003, 01:10:07 AM »
Reply with quote

by filter, i mean Google doesn't seem to put them in their display url's.  like all the threads in your site do not seem to show the session id when I do a site search on google.  but then they do show when I go to the site in person.

since the forum previously did not display session id in the url, even when a guest visited, that seems to show that there must be something in the mod that causes it to show.  why can't we just duplicate the method which was previously used for not showing session id?
« Last Edit: December 09, 2003, 01:24:48 AM by pege » Logged
Anguz
YaBB God
*****
Posts: 641


llama me?!

WWW
Re:[beta 1.5.4] Smart Urls v2.0
« Reply #121 on: December 09, 2003, 09:04:42 AM »
Reply with quote

http://www.simplemachines.org/community/index.php?topic=2140/msg36696#msg36696
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 v2.0
« Reply #122 on: December 09, 2003, 02:02:47 PM »
Reply with quote

woo!

seems to be working  ;D

yeah!

thanks Anguz!
« Last Edit: December 09, 2003, 02:03:17 PM by pege » Logged
pege
Full Member
***
Posts: 146


Re:[beta 1.5.4] Smart Urls v2.0
« Reply #123 on: December 09, 2003, 05:23:19 PM »
Reply with quote

so far, all the keyword options are working, in forum, category, and board.  I'm not sure how that title keyword is supposed to work?
Logged
Anguz
YaBB God
*****
Posts: 641


llama me?!

WWW
Re:[beta 1.5.4] Smart Urls v2.0
« Reply #124 on: December 09, 2003, 07:10:22 PM »
Reply with quote

Quotewoo!

seems to be working  

yeah!

thanks Anguz!
cool! thank [Unknown] :)

Quoteso far, all the keyword options are working, in forum, category, and board.  I'm not sure how that title keyword is supposed to work?
the keywords in the title should appear like described in the release of version two... I must've done something wrong... hold on... try this

<edit file>
Sources/Display.php
</edit file>

<search for>
      global $kwYabbse, $kwCateg, $boardCat, $kwTitleSep, $board;
      $keywords = ($kwYabbse?$kwYabbse.$kwTitleSep:'');
      $keywords.= ($kwCateg[$boardCat[$board]]?$kwCateg[$boardCat[$board]].$kwTitleSep:'');
      $keywords.= ($kwBoard[$board]?$kwBoard[$board].$kwTitleSep:'');
</search for>

<replace>
      global $kwYabbse, $kwCateg, $currentboardCat, $kwTitleSep, $currentboard;
      $keywords = (!empty($kwYabbse) ? $kwYabbse.$kwTitleSep : '');
      $keywords.= (!empty($kwCateg[$currentboardCat[$currentboard]]) ? $kwCateg[$currentboardCat[$currentboard]].$kwTitleSep : '');
      $keywords.= (!empty($kwBoard[$currentboard]) ? $kwBoard[$currentboard].$kwTitleSep : '');
</replace>
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
Cerberus
Full Member
***
Posts: 100


Who's a llama?!

WWW
Re:[beta 1.5.4] Smart Urls v2.0
« Reply #125 on: December 09, 2003, 11:06:10 PM »
Reply with quote

QuoteStep 3 ... failed - ERR(10): The search string is empty! However an empty <search for> argument is
not allowed because it would make the mod unremoveable.

::)
Logged

Best Regards, Cerberus
Check out http://www.pocketpcrussia.com :)
Anguz
YaBB God
*****
Posts: 641


llama me?!

WWW
Re:[beta 1.5.4] Smart Urls v2.0
« Reply #126 on: December 09, 2003, 11:48:09 PM »
Reply with quote

sorry about that... fixed

used the wrong tags for the mod, <replace> instead of <search for>, when adding the new line for the PHPSESSID thing ::)
« Last Edit: December 10, 2003, 04:15:28 AM 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
old dan
Full Member
***
Posts: 191


Make music, not war.

WWW
Re:[beta 1.5.4] Smart Urls v2.0
« Reply #127 on: December 10, 2003, 01:44:55 AM »
Reply with quote

Just wanted to say thanks. I have 1.0 installed and it's been working great. gonna install 2.0 soon. This mod is the only one on my site I didn't write, and the only mod I think should be installed on every Yabb board out there. A big thumbs up!
Logged

People who drink lite beer don't like the taste of beer; they just like to pee a lot
Anguz
YaBB God
*****
Posts: 641


llama me?!

WWW
Re:[beta 1.5.4] Smart Urls v2.0
« Reply #128 on: December 10, 2003, 02:18:09 AM »
Reply with quote

Quote from: old dan on December 10, 2003, 01:44:55 AM
Just wanted to say thanks. I have 1.0 installed and it's been working great. gonna install 2.0 soon. This mod is the only one on my site I didn't write, and the only mod I think should be installed on every Yabb board out there. A big thumbs up!

thank you old dan! I'm really glad you guys are using it and are happy with it :)

wow! you got many pages indexed already!  :D
http://www.google.com/search?sourceid=navclient&ie=UTF-8&oe=UTF-8&q=site:www%2Erecordingforums%2Ecom+copyright
« Last Edit: December 10, 2003, 02:21:47 AM 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
dschwab9
Full Member
***
Posts: 144


I'm a llama!

WWW
Re:[beta 1.5.4] Smart Urls v2.0
« Reply #129 on: December 10, 2003, 05:47:48 AM »
Reply with quote

I just installed it on mine.  This is awesome!  It doesn't crash apache, and it's fast  ;D  ;D  ;D  ;D  ;D

Board mod failed on all but 4 steps, so I had to do it manually, but that's probably my fault, since my code has been hacked on so many times.

One minor thing I noticed, in the link tree, there is no anchors for the catagories.
« Last Edit: December 10, 2003, 06:17:27 AM by dschwab9 » Logged
dschwab9
Full Member
***
Posts: 144


I'm a llama!

WWW
Re:[beta 1.5.4] Smart Urls v2.0
« Reply #130 on: December 10, 2003, 05:51:24 AM »
Reply with quote

Also, I've got the catagory keywork and the file extension showing in the title - look at this http://bbs.zuwharrie.com/index.php/tech/jeep-other/t2715.htm

Toyota landcruiser axle info
Is changed to:
Tech htm Toyota landcruiser axle info

Any idea what's causing that?
Logged
dschwab9
Full Member
***
Posts: 144


I'm a llama!

WWW
Re:[beta 1.5.4] Smart Urls v2.0
« Reply #131 on: December 10, 2003, 06:15:22 AM »
Reply with quote

One more thing for you - the counter - shouldn't that be visible only to admins?  It seems to show all the time if it's turned on.
Logged
Anguz
YaBB God
*****
Posts: 641


llama me?!

WWW
Re:[beta 1.5.4] Smart Urls v2.0
« Reply #132 on: December 10, 2003, 08:46:46 AM »
Reply with quote

One more thing for you - the counter - shouldn't that be visible only to admins?  It seems to show all the time if it's turned on.

oh, that was before, I thought it'd leave it visible together with the page generation time... I reasoned that if you didn't mind showing one, you wouldn't mind showing the other hehe... I'll fix that so that it always shows the counter for the admin and only to the rest if the counter setting is checked

QuoteAlso, I've got the catagory keywork and the file extension showing in the title - look at this http://bbs.zuwharrie.com/index.php/tech/jeep-other/t2715.htm

Toyota landcruiser axle info
Is changed to:
Tech htm Toyota landcruiser axle info

Any idea what's causing that?
I have the idea I messed up somewhere  ;D I'll look into it and fix it

QuoteOne minor thing I noticed, in the link tree, there is no anchors for the catagories.
I think I know what it is and will fix it in the mod file tomorrow, in the meantime, change these in messageindex.php and display.php

smart_url($scripturl.'#'.$curcat)
into
smart_url($scripturl).'#'.$curcat

QuoteI just installed it on mine.  This is awesome!  It doesn't crash apache, and it's fast
sweet!! ;D ;D ;D  I was really hoping it'd work for you since you've been trying since the first mod on this hehe
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
dschwab9
Full Member
***
Posts: 144


I'm a llama!

WWW
Re:[beta 1.5.4] Smart Urls v2.0
« Reply #133 on: December 10, 2003, 09:03:34 AM »
Reply with quote

Quote from: Anguz on December 10, 2003, 08:46:46 AM
QuoteAlso, I've got the catagory keywork and the file extension showing in the title - look at this http://bbs.zuwharrie.com/index.php/tech/jeep-other/t2715.htm

Toyota landcruiser axle info
Is changed to:
Tech htm Toyota landcruiser axle info

Any idea what's causing that?
I have the idea I messed up somewhere  ;D I'll look into it and fix it
Does it do that on yours?  I was really careful, but it's possible I messed something up, since I had to install the whole thing manually.


Quote from: Anguz on December 10, 2003, 08:46:46 AMI was really hoping it'd work for you since you've been trying since the first mod on this hehe
Actually, I think the problem was in my PHP/Apache install.  I was using the default RedHat9 installation.  A few days ago, I compiled Apache 2.0.48 and PHP 4.3.4 from source, and things work a lot better now.


Also, on the issue with eliminating the script name from the URL - I researched it,  I don't think that's possible.

The closest thing I've come up with is:
RewriteEngine On
RewriteBase /
RewriteRule ^index.php


That basically take the URL and invisibly inserts index.php after the host name.  Problem is, your images end up getting rewritten like http://www.domain.tld/index.php/images/myimage.gif and none of them work.

No, if you put all of the images, stylesheets, attachments, js files, etc, under a different directory or subdomain, I think it would work.  Basically, you would have to never have a URL to anything but index.php in your main forum directory.

For example:
Forum at http://www.domain.tld/forum/
Images and stuff at http://www.domain.tld/forumfiles/

OR:
Forum at http://forum.domain.tld/
Images and stuff at http://www.domain.tld/

Would work

Forum at http://www.domain.tld/forum/
Images at http://www.domain.tld/forum/images/
Would not work.
« Last Edit: December 10, 2003, 09:05:38 AM by dschwab9 » Logged
Anguz
YaBB God
*****
Posts: 641


llama me?!

WWW
Re:[beta 1.5.4] Smart Urls v2.0
« Reply #134 on: December 10, 2003, 09:23:20 PM »
Reply with quote

QuoteDoes it do that on yours?  I was really careful, but it's possible I messed something up, since I had to install the whole thing manually.
no, it was my mistake, using $modSettings['sUrl_fileExt'] instead of $modSettings['sUrl_kwTitleSep'] when defining $kwTitleSep

and also, when changing $board to $currentboard, I hit replace all in Edit+ and the $boardCat array's name was changed too, so those keywords wouldn't show either

I think the title part will work fine now :P

QuoteAlso, on the issue with eliminating the script name from the URL - I researched it,  I don't think that's possible.
well... I'm trying to stay away from changing every url, that's what I was doing before and was way slower in relative_url, so I'll stick to this way of doing it, only modifying urls in links to boards and threads

can't you use a regex to detect only those urls and rewrite them? you could use the file extension in modsettings to identify them maybe, or the kw for the whole community, which will only be used in those urls, or a combination of both... if not using neither of them, maybe detecting the new format for boards or threads...  \/(b|t)([0-9]+) maybe?

QuoteOne minor thing I noticed, in the link tree, there is no anchors for the catagories.
that seems to be working for you now, maybe because of the fix I suggested... I changed that in the mod file as well

I updated the link to the mod in the first post, it's now version 2.1 since I've done a few fixes and it was still using the same version number... I have to learn how to version properly ;D
« Last Edit: December 10, 2003, 09:31:19 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
Pages: 1 ... 7 8 [9] 10 11 ... 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.056 seconds with 20 queries.