vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   vRewrite - SEOed URLs for vBulletin (https://vborg.vbsupport.ru/showthread.php?t=104484)

logical.angel 02-04-2006 05:44 AM

Quote:

Originally Posted by caislander
[Immortal,

Thanks for the response but when i apply the code change as is outlined in post 300 it fixes everything except the page 2 of a thread being sent to some other thread. So I over wrote that with the chance in post 316 and that gives me an error of
Code:

Parse error: parse error, unexpected '}' in..../www/html/forums/includes/functions.php(4320) : eval()'d code on line 606
What have I done wrong?

Uhmm, it's a parse error, maybe you've wrongly paste the codes, maybe lack a single quotes somewhere or needs an additional ) added or remove, try posting the codes around line 606.

Heh Immortal, I must say a great thanks to you, i've not used vRewrite yet, just heard of it today, but i've followed this thread, you really must be having a great patience to keep up working with vRewrite and additionally help with support issues.
Anyways, i'll try to get my whole hackers.mu crew to work with that bug in vRewrite maybe someone might figure out what's wrong.
Anywayz, great job.

+[logical.angel]out
logical [AT] hackers.mu

sysop2 02-04-2006 08:20 AM

Hello all, i'm new here. ;)

what am i doing wrong?
I took a clean vbulletin and installed that product.

Forum rewriting works.

Thread rewriting doesnt:
Only the 1st Thread in a forum hast se-friendly urls.
Only the 1st and the last page of threads with more than one page are rewritten:

example(3 pages) :
.../forumname/t-threadtitle-28.html
.../showthread.php?t=28&page=2
.../forumname/t-threadtitle-28-page-3.html

--

Immortal, i really appreciate your work and would say THX thousand times, but this thing is unuseable and doesnt work correctly(if I didnt do an error... but where?!).

Greetz - sysop2

Immortal 02-04-2006 01:05 PM

Quote:

Originally Posted by caislander
[Immortal,

Thanks for the response but when i apply the code change as is outlined in post 300 it fixes everything except the page 2 of a thread being sent to some other thread. So I over wrote that with the chance in post 316 and that gives me an error of
Code:

Parse error: parse error, unexpected '}' in..../www/html/forums/includes/functions.php(4320) : eval()'d code on line 606
What have I done wrong?

Double check that make sure you did it correctly. If you can wait until later today, I'll have a new release with these fixes builtin plus the merge fix.

Quote:

Originally Posted by logical.angel
Heh Immortal, I must say a great thanks to you, i've not used vRewrite yet, just heard of it today, but i've followed this thread, you really must be having a great patience to keep up working with vRewrite and additionally help with support issues.
Anyways, i'll try to get my whole hackers.mu crew to work with that bug in vRewrite maybe someone might figure out what's wrong.
Anywayz, great job.

Thanks, that's very kind of you :)

Quote:

Originally Posted by sysop2
Hello all, i'm new here.

what am i doing wrong?
I took a clean vbulletin and installed that product.

Forum rewriting works.

Thread rewriting doesnt:
Only the 1st Thread in a forum hast se-friendly urls.
Only the 1st and the last page of threads with more than one page are rewritten:

example(3 pages) :
.../forumname/t-threadtitle-28.html
.../showthread.php?t=28&page=2
.../forumname/t-threadtitle-28-page-3.html

--

Immortal, i really appreciate your work and would say THX thousand times, but this thing is unuseable and doesnt work correctly(if I didnt do an error... but where?!).

Greetz - sysop2

The fix was issued a bit ago. A new release should be released today with this fix builtin.

Snake 02-04-2006 05:25 PM

Oooo I can't wait... :D

Immortal 02-04-2006 06:18 PM

I have fixed all known errors. We are currently testing it out on my live board before I release to y'all :)

sysop2 02-04-2006 09:22 PM

:surprised: great news mate, keep up the good work
hope you release it soon :)

caislander 02-04-2006 11:33 PM

Quote:

Originally Posted by Immortal
I have fixed all known errors. We are currently testing it out on my live board before I release to y'all :)

Awesome :)

Immortal 02-05-2006 12:10 AM

vRewrite - v3arcade Rewrite

Just something I just whipped up.

Styles & Templates->v3 arcade->arcade_game_bit

Find:
Code:

<div style="padding-bottom: 4px"><a href="arcade.php?do=play&gameid=$game[gameid]"><strong>$game[title]</strong></a></div>
Replace with:
Code:

<div style="padding-bottom: 4px"><a href="arcade/games/$game[gameid].html"><strong>$game[title]</strong></a></div>
Find:
Code:

      <a href="arcade.php?do=play&gameid=$game[gameid]">$vbphrase[play_now]</a> </td>
Replace with:
Code:

<a href="arcade/games/$game[gameid].html">$vbphrase[play_now]</a>
[code]
Open up v3 arcade->arcade_headinclude at to the very end:
Code:

<base href="$vboptions[bburl]/" />
Add this to your .htaccess with the other RewriteRules:
Code:

RewriteRule ^arcade/games/(.*) arcade.php?do=play&gameid=$1 [L]

I may add other rules if I get unlazy in the future ;)

Immortal 02-05-2006 01:43 AM

Just an update..no way am I going to get done with this tonight.

1) Merge is still not working. Thanks preg_match.
2) Forumdisplay pages is not working. Thanks preg_match_all.
3) Showthread pages is not working. Thanks preg_match_all.
4) Archive links are not redirected yet.

Urgghh...

sysop2 02-05-2006 09:18 AM

awww :(
ok i see theres no reason to be euphoric... i'll check this thread later in a few days... awww again.

Greetz


All times are GMT. The time now is 11:59 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.02382 seconds
  • Memory Usage 1,755KB
  • 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
  • (8)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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