vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - DC SEO vB URL Rewrite (https://vborg.vbsupport.ru/showthread.php?t=91324)

Dean C 11-09-2005 08:15 PM

Quote:

Originally Posted by mikehawk
Is there anyway to make this work for individual threads?

If you mean only specific threads, then not with this plugin.

adventideas 11-09-2005 08:31 PM

Quote:

Originally Posted by Dean C
The post# is not hardcoded anywhere

Ah sorry, maybe I should have worded my post correctly.

What I was trying to say was this..

Code:

showthread.php?t=$1&page=$5&pp=10 [L]
Is there a way to remove pp=10 and still have the plugin work just as well or is that not possible?

Dean C 11-09-2005 10:26 PM

Quote:

Originally Posted by adventideas
Ah sorry, maybe I should have worded my post correctly.

What I was trying to say was this..

Code:

showthread.php?t=$1&page=$5&pp=10 [L]
Is there a way to remove pp=10 and still have the plugin work just as well or is that not possible?

No, just change the value to the setting of your board.

mikehawk 11-09-2005 10:54 PM

Quote:

Originally Posted by Dean C
If you mean only specific threads, then not with this plugin.

Thanks for the script, it works perfectly. I just think it work well if it were for specific threads because then search engines would spider them better right?

For my site, most threads are news articles which would make the proposed hack ideal.


Anyways thanks for the hack! :nervous:

kafi 11-10-2005 06:50 AM

Quote:

Originally Posted by Dean C
Well that is something different :) But what use is it having an english character set in your URLs when your site is foreign? Your search engine users will be searching in google, yahoo or msn etc using foreign characters and your URLs will not have these characters so the benefit is lost.

Because also Google and other robots translate these letters and they equal them.

Also lot of people do not use punctuation symbols, they got used to write emails without punctuation, because it cause troubles for email clients to read them.

Then I suppose crawlers started to equal those letters, because sometime they are in use and sometime they don't.

Nobody use foreign characters in URLs anyway.

Greivog 11-10-2005 07:56 AM

Sorry, I cant find my thread on here, its got so busy :)

Is there a way to get this working on a win2003 server?

Thanks

Paul

Dean C 11-10-2005 08:02 AM

Quote:

Originally Posted by mikehawk
Thanks for the script, it works perfectly. I just think it work well if it were for specific threads because then search engines would spider them better right?

For my site, most threads are news articles which would make the proposed hack ideal.


Anyways thanks for the hack! :nervous:

Nope, you want all your content indexed! :D

Dean C 11-10-2005 08:02 AM

Quote:

Originally Posted by Greivog
Sorry, I cant find my thread on here, its got so busy :)

Is there a way to get this working on a win2003 server?

Thanks

Paul

http://www.google.com/search?hl=en&q...=Google+Search

No idea, good luck ;)

D|ver 11-10-2005 09:57 AM

Quote:

Originally Posted by Lizard King
Dean is it possible an integration for vba CMPS and vba Gallery ?

yeah a integration for at least the latest threads box in the cmps would be so great :)

mfizzel 11-10-2005 02:36 PM

Quote:

Originally Posted by D|ver
yeah a integration for at least the latest threads box in the cmps would be so great :)

how many times does he have to state he isn't coding this for other hacks?

kafi 11-11-2005 07:26 AM

Quote:

Originally Posted by kafi
Because also Google and other robots translate these letters and they equal them.

Also lot of people do not use punctuation symbols, they got used to write emails without punctuation, because it cause troubles for email clients to read them.

Then I suppose crawlers started to equal those letters, because sometime they are in use and sometime they don't.

Nobody use foreign characters in URLs anyway.

Dean,

can you give some idea how to make this possible. Maybe some code for one letter and I will do (equal) on other letters myself .-)

Dean C 11-11-2005 10:07 AM

Quote:

Originally Posted by kafi
Dean,

can you give some idea how to make this possible. Maybe some code for one letter and I will do (equal) on other letters myself .-)

I'll consider looking into it.

Moncal 11-11-2005 10:31 AM

This has screwed up my forums so bad.

Although I guess it is really my fault because I should have backed up my database before I began.

Dean C 11-11-2005 01:31 PM

Quote:

Originally Posted by Moncal
This has screwed up my forums so bad.

Although I guess it is really my fault because I should have backed up my database before I began.

This is impossible because it makes no changes to your database whatsoever.

Lizard King 11-11-2005 05:07 PM

Dean there is one issue i am consedering. There is no way for me to uninstall or deactivate this plugin since it is not visible in plugin manager etc... Is there a query which will uninstall it ?

mfizzel 11-11-2005 05:14 PM

Quote:

Originally Posted by Lizard King
Dean there is one issue i am consedering. There is no way for me to uninstall or deactivate this plugin since it is not visible in plugin manager etc... Is there a query which will uninstall it ?

Click Plugin-Manger and delete it - then remove the lines you added in your .htaccess file

*EDIT - I just reread your post, you stated it's not visible in your plugin-manager but it should be...just checked my admincp and it's there for me.

kafi 11-11-2005 09:12 PM

This is not to push preasure on you....

but your support rock! I see you very active here. You should develop this and be a good competitor to VbSEO .-)


Quote:

Originally Posted by Dean C
I'll consider looking into it.


mfizzel 11-11-2005 10:01 PM

DC, I'm curious to hear your thoughts on this.

I asked T2DMan if he was ever going to make his google sitemap mod compatible with your rewrite hack, basically he says it's more damaging to have this installed than to not have it.

His words exactly :

Quote:

Meantime, I dont want to add any credibility to a rewrite script that I consider is so half done that its worthless, and in fact damaging.

What are your thoughts on that? I certainly don't agree with him.

tamarian 11-12-2005 12:57 AM

Quote:

Originally Posted by mfizzel
basically he says it's more damaging to have this installed than to not have it.

It is damaging, but not to you, to a specific company who wants your money for an encoded script, with some serious privacy issues. :)

Dean C 11-12-2005 10:00 AM

Quote:

Originally Posted by mfizzel
DC, I'm curious to hear your thoughts on this.

I asked T2DMan if he was ever going to make his google sitemap mod compatible with your rewrite hack, basically he says it's more damaging to have this installed than to not have it.

His words exactly :




What are your thoughts on that? I certainly don't agree with him.

At the moment it's in beta, of course there are problems. But all these issues are fixed in the version I shall release soon :D

Okie 11-12-2005 10:20 AM

I have installing this hack today and i'm very happy with it ..

Dean C 11-12-2005 12:49 PM

Quote:

Originally Posted by tamarian
It is damaging, but not to you, to a specific company who wants your money for an encoded script, with some serious privacy issues. :)

Last time I checked my scripts weren't encoded ;)

Zhen-Xjell 11-12-2005 04:00 PM

Quote:

Originally Posted by Dean C
Last time I checked my scripts weren't encoded ;)

First, kudos to Dean C for working on this and enabling all those who wish to get away from an encoded schema (look at vbulletin... people will pay for commercial, but do you need to encode the product?).

Second, I've made my own modifications (as I said before) and I love it.

Thirdly, I have no issues with it. Browse around, check it out: http://de.castlecops.com/forum. Alls well in wonderland.

Dean C 11-12-2005 05:45 PM

Quote:

Originally Posted by Zhen-Xjell
First, kudos to Dean C for working on this and enabling all those who wish to get away from an encoded schema (look at vbulletin... people will pay for commercial, but do you need to encode the product?).

Second, I've made my own modifications (as I said before) and I love it.

Thirdly, I have no issues with it. Browse around, check it out: http://de.castlecops.com/forum. Alls well in wonderland.

Kudos to CastleCops ;) I refer all the people dumb enough to get spyware to you guys with a nice big HijackThis Log heh

Zhen-Xjell 11-12-2005 08:14 PM

Quote:

Originally Posted by Dean C
Kudos to CastleCops ;) I refer all the people dumb enough to get spyware to you guys with a nice big HijackThis Log heh

:D There can never be enough kudos flying around. Again, you're a testament to open coding and enabling vbulletin to go SEO for so many (including us). As to the malware stuff, we just released this today, hope it helps: http://castlecops.com/a6341-Malware_...Procedure.html.

Keep up the good work Dean C. I love it!

Dean C 11-12-2005 08:44 PM

Kafi: Please could you navigate to my website and send me an email through my contact form using your email. I'll send you a reply with the latest version I'm working on, which should fix the foreign chars issue :)

Zhen-Xjell 11-12-2005 08:49 PM

Quote:

Originally Posted by Dean C
Kafi: Please could you navigate to my website and send me an email through my contact form using your email. I'll send you a reply with the latest version I'm working on, which should fix the foreign chars issue :)

Speaking of which, did you want the hex?

Dean C 11-12-2005 09:19 PM

Quote:

Originally Posted by Zhen-Xjell
Speaking of which, did you want the hex?

Well I noticed on castlecops you still have the foreign chars in the actual URI's. My problem with that is that no-one showed me evidence that these chars are actually valid in a URI. I've changed a lot since then but I used this function to convert foreign chars to their english equivalent:

PHP Code:

// function to replace foreign chars with their english equivalent
function remove_accents($text)
{
    
$trans get_html_translation_table(HTML_ENTITIES);
    foreach(
$trans as $literal =>$entity)
    {
           if(
ord($literal) >= 192)
           { 
                 
$replace[] = substr($entity11); 
                 
$search[] = $literal;
             }
         } 
    return 
str_replace($search$replace$text);



Zhen-Xjell 11-12-2005 10:27 PM

Quote:

Originally Posted by Dean C
Well I noticed on castlecops you still have the foreign chars in the actual URI's. My problem with that is that no-one showed me evidence that these chars are actually valid in a URI. I've changed a lot since then but I used this function to convert foreign chars to their english equivalent:

PHP Code:

// function to replace foreign chars with their english equivalent
function remove_accents($text)
{
    
$trans get_html_translation_table(HTML_ENTITIES);
    foreach(
$trans as $literal =>$entity)
    {
           if(
ord($literal) >= 192)
           { 
                 
$replace[] = substr($entity11); 
                 
$search[] = $literal;
             }
         } 
    return 
str_replace($search$replace$text);



You need to take a look at IRIs and the URI-> IRI mapping (international resource identifier).

Dean C 11-13-2005 09:18 AM

Quote:

Originally Posted by Zhen-Xjell
You need to take a look at IRIs and the URI-> IRI mapping (international resource identifier).

After a quick browse around google and reading up, it seems as it's a work-in-progress and not yet fully implemented/supported in the development world?

openmind 11-13-2005 01:11 PM

Great hack but I'm having a little trouble using it on Windows 2003 IIS6 and using the ISAP Rewrite dll (http://www.isapirewrite.com/)

Basicaly it does the same job as the Apache equivalent through a ini file in the web root.

This is my httpd.ini file:
PHP Code:

[ISAPI_Rewrite]

RewriteRule /forums/archive/([^/.?]+\.html) /forums/archive/index.php\?$[I,L]
RewriteRule /forums/(^f([0-9]+)-([A-Za-z0-9\-]+)\.html) /forums/forumdisplay.php?f=$[I,L]
RewriteRule /forums/(^t([0-9]+)(((-p)([0-9]+))?)([A-Za-z0-9\-]+)\.html) /forums/showthread.php?t=$1&page=$5&pp=10 

[I,L

The archive works perfectly but I'm getting 404's when I try to activate your plug in. I "think" its got something to do with the rule as I have had to add /forums/ to the condition as my config file is in the web root...

Can you help at all?

JTyson 11-13-2005 01:34 PM

If you post the htacces file for this hack at the isapirewrite forums they should be able to help you convert it to there syntax.

[high]* JTyson anxiously awaits an update on this hack :)[/high]

Zhen-Xjell 11-13-2005 01:42 PM

Quote:

Originally Posted by Dean C
After a quick browse around google and reading up, it seems as it's a work-in-progress and not yet fully implemented/supported in the development world?

http://www.w3.org/Addressing/

openmind 11-13-2005 02:05 PM

Quote:

Originally Posted by JTyson
If you post the htacces file for this hack at the isapirewrite forums they should be able to help you convert it to there syntax.

[high]* JTyson anxiously awaits an update on this hack :)[/high]

Sorted. The amended rules are below:
PHP Code:

RewriteRule /forums/f([0-9]+)-([A-Za-z0-9\-]+)\.html$ /forums/forumdisplay.php\?f=$[I,L]
RewriteRule /forums/t([0-9]+)(((-p)([0-9]+))?)([A-Za-z0-9\-]+)\.html$ /forums/showthread.php\?t=$1&page=$5&pp=10 

[I,L

Clicks install :D

Just realised that \ is not showing up in the code block above so for example /forums/forumdisplay.php?f=$1 should be /forums/forumdisplay.php\?f=$1

TruthElixirX 11-13-2005 02:22 PM

I don't know if this has been mentioned but I am having a problem choosing styles in IE.

Whenever I try to change the style while viewing the thread I get the same style because the static URLs don't allow &styleid=# on the end.

I am very glad you are updating this! Thanks very much.

Dean C 11-13-2005 02:56 PM

Quote:

Originally Posted by openmind
Great hack but I'm having a little trouble using it on Windows 2003 IIS6 and using the ISAP Rewrite dll (http://www.isapirewrite.com/)

Basicaly it does the same job as the Apache equivalent through a ini file in the web root.

This is my httpd.ini file:
PHP Code:

[ISAPI_Rewrite]

RewriteRule /forums/archive/([^/.?]+\.html) /forums/archive/index.php\?$[I,L]
RewriteRule /forums/(^f([0-9]+)-([A-Za-z0-9\-]+)\.html) /forums/forumdisplay.php?f=$[I,L]
RewriteRule /forums/(^t([0-9]+)(((-p)([0-9]+))?)([A-Za-z0-9\-]+)\.html) /forums/showthread.php?t=$1&page=$5&pp=10 

[I,L

The archive works perfectly but I'm getting 404's when I try to activate your plug in. I "think" its got something to do with the rule as I have had to add /forums/ to the condition as my config file is in the web root...

Can you help at all?

I've never used an IIS module in my life, so I have no plans on supporting it. You're on your own I'm afraid :)

Dean C 11-13-2005 02:59 PM

Quote:

Originally Posted by TruthElixirX
I don't know if this has been mentioned but I am having a problem choosing styles in IE.

Whenever I try to change the style while viewing the thread I get the same style because the static URLs don't allow &styleid=# on the end.



I am very glad you are updating this! Thanks very much.

Yeah that's an unfortunate consequence I'm afraid :) Change it via your UserCP.

jayhawk785 11-13-2005 03:11 PM

Dean,

Does your latest version address URLs using "showthread.php?goto=newpost&t=2384" - or is that just not possible? I always use those to see new posts....

Dean C 11-13-2005 03:29 PM

Quote:

Originally Posted by jayhawk785
Dean,

Does your latest version address URLs using "showthread.php?goto=newpost&t=2384" - or is that just not possible? I always use those to see new posts....

There is no issue here. That URL serves a function. It redirects to a page with an anchor on with the most recent post. There is no reason whatsoever to rewrite this URL.

mcleodc 11-13-2005 06:30 PM

posted in error sorry


All times are GMT. The time now is 09:50 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02162 seconds
  • Memory Usage 1,886KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (5)bbcode_php_printable
  • (30)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete