vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Major Additions - TfSEO 2: the free vBulletin url rewrite (https://vborg.vbsupport.ru/showthread.php?t=173738)

superjeff 05-30-2008 03:32 PM

I will add this in the next major relase, for it i will rewrite all the code!

It will have 3 options:
f##/##/
f##/threadname-##/
forumname-##/threadname-##/

Plus, you will allowed to modific the url structure how do you want, editing only one file.
Plus plus: the forumname-## will be indipendent from the forum name, with this, if you change it, you will not redirect thousands of threads

GlitchersCorner 05-30-2008 03:38 PM

Quote:

Originally Posted by superjeff (Post 1536327)
I will add this in the next major relase, for it i will rewrite all the code!

It will have 3 options:
f##/##/
f##/threadname-##/
forumname-##/threadname-##/

Plus, you will allowed to modific the url structure how do you want, editing only one file.

Sounds good. Thank you :)

neverstop 05-30-2008 03:49 PM

Hi Jeff...

I installed the new vbadvanced plugin but it does not work for me, the URLS are not rewritten. My templates are heavily modified and i do not use $mods['title'] anywhere. In my templates I have links like so: $vboptions[bburl]/showthread.php?$session[sessionurl]t=$news[threadid]">$news[title]</a>

Is it possible to rewrite this somehow?

Cheers,
Ian

69lakalle 05-30-2008 03:53 PM

awesome dude i am keeping track of this, when you add what u just said, will install !!

Quote:

Originally Posted by superjeff (Post 1536327)
I will add this in the next major relase, for it i will rewrite all the code!

It will have 3 options:
f##/##/
f##/threadname-##/
forumname-##/threadname-##/

Plus, you will allowed to modific the url structure how do you want, editing only one file.
Plus plus: the forumname-## will be indipendent from the forum name, with this, if you change it, you will not redirect thousands of threads


futureye 05-30-2008 03:53 PM

Quote:

Originally Posted by superjeff (Post 1536147)
Yes, but if you can, waith the next version


Do the plugin work for arabic is very hard. You can try editing ./includes/functions_tfseo.php

what modifcation can be done to do that

t33234-3

superjeff 05-30-2008 04:00 PM

Quote:

Originally Posted by neverstop (Post 1536344)
Hi Jeff...

I installed the new vbadvanced plugin but it does not work for me..

Easly do the file (and no template) modification (is only one!) and delete the specificated line!

superjeff 05-30-2008 04:02 PM

Quote:

Originally Posted by futureye (Post 1536349)
what modifcation can be done to do that

t33234-3

Wait the next major version, than you will only have to set the url structure in the admincp (but it will no have keywords)

superjeff 05-30-2008 04:06 PM

Quote:

Originally Posted by neverstop (Post 1536344)
I have links like so: $vboptions[bburl]/showthread.php?$session[sessionurl]t=$news[threadid]">$news[title]</a>

Sorry i didn't see it :)
Try to reverte the template (first like test locally) or replace it with $mods[title] in the vb template.

neverstop 05-30-2008 04:27 PM

Quote:

Originally Posted by superjeff (Post 1536358)
Sorry i didn't see it :)
Try to reverte the template (first like test locally) or replace it with $mods[title] in the vb template.

Hi Jeff... Reverting templates is not an option for me, and I cannot use mods[title] the way you have it. I editted the plugin like this:
PHP Code:

$news['url'] = tfseo_url($news['title']); 

And then in the template adv_portal_newsbits I use it like so:

PHP Code:

$vboptions[bburl]/f$news[forumid]/$news[url]-$news[threadid]/ 

It works. But how can I do the same for the template adv_portal_newsbits_attach_thumb? Do I need another plugin?

Cheers

superjeff 05-30-2008 04:42 PM

Good!
I don't see nothing to rewrite in that template:
HTML Code:

<a href="$vboptions[bburl]/attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&amp;d=$attachment[dateline]"<if condition="$show['newwindow']"> target="_blank"</if>><img src="$vboptions[bburl]/attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&amp;stc=1&amp;thumb=1&amp;d=$attachment[thumbnail_dateline]" class="thumbnail" border="0" alt="<phrase 1="$attachment[filename]" 2="$attachment[counter]" 3="$attachment[filesize]" 4="$attachment[attachmentid]">$vbphrase[image_larger_version_x_y_z]</phrase>" /></a> &nbsp;
Were i wrong?

neverstop 05-30-2008 04:51 PM

Quote:

Originally Posted by superjeff (Post 1536383)
Good!
I don't see nothing to rewrite in that template:
HTML Code:

<a href="$vboptions[bburl]/attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&amp;d=$attachment[dateline]"<if condition="$show['newwindow']"> target="_blank"</if>><img src="$vboptions[bburl]/attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&amp;stc=1&amp;thumb=1&amp;d=$attachment[thumbnail_dateline]" class="thumbnail" border="0" alt="<phrase 1="$attachment[filename]" 2="$attachment[counter]" 3="$attachment[filesize]" 4="$attachment[attachmentid]">$vbphrase[image_larger_version_x_y_z]</phrase>" /></a> &nbsp;
Were i wrong?

You are right... but I have modified that template to something like this:

Code:

<a href="$vboptions[bburl]/showthread.php?$session[sessionurl]t=$news[threadid]"><img src="$vboptions[bburl]/attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&amp;stc=1&amp;thumb=1&amp;d=$attachment[thumbnail_dateline]" class="thumbnail" border="0" alt="" /></a>
So the thumbnail links to the thread.

But it is ok. I have removed the code from adv_portal_newsbits_attach_thumb and placed it directly in adv_portal_newsbits and I can now rewrite the URLS. So it is working for me how I want.

Thanks so much.

NAZIA 05-31-2008 03:45 AM

Hello..
By this no tag is redirecting..
Please re edit the file for tags..

In attachment you can see that the TAGS URL are linking to the wrong address as shown in address bar [with out Thread title] But the link should contain the thread title to view the page..

Attachment 81560

superjeff 05-31-2008 04:18 AM

Do the filedit at tags.php!

NAZIA 05-31-2008 04:39 AM

Quote:

Originally Posted by superjeff (Post 1536781)
Do the filedit at tags.php!

How..
Can you edit..
Actually i don't have any idea about editing the .PHP files..
Please..

akee 05-31-2008 05:08 AM

Quote:

Originally Posted by superjeff (Post 1536147)
Yes, but if you can, waith the next version

ok, thanks, than i wait the next version!

can you help me, than work it with hungarien character? (??ű??ő???)
thanks

superjeff 05-31-2008 10:06 AM

Quote:

Originally Posted by NAZIA (Post 1536793)
How..
Can you edit..
Actually i don't have any idea about editing the .PHP files..
Please..

Open it with notepad, or notepad ++
Quote:

Originally Posted by akee (Post 1536803)
ok, thanks, than i wait the next version!

can you help me, than work it with hungarien character? (??ű??ő???)
thanks

Sure! Can i have a list of all the caracter to replace in your lenguage?

akee 05-31-2008 10:55 AM

thanks!

This is hungarien ABC
Code:

a, ?, b, c, cs, d, dz, dzs, e, ?, f, g, gy, h, i, ?, j, k, l, ly, m, n, ny, o, ?, ?, ő, p, q, r, s, sz, t, ty, u, ?, ?, ű, v, w, x, y, z, zs,
Code:

A, ?, B, C, CS, D, DZ, DZS, E, ?, F, G, GY, H, I, ?, J, K, L, LY, M, N, NY, O, ?, ?, Ő, P, Q, R, S, SZ, T, TY, U, ?, ?, Ű, V, W, X, Y, Z, ZS,

Adam21 05-31-2008 12:53 PM

tfseo_threadbit_pagelink template is uncached.Anyway to cache it?

It seems to have conflicts with GT QuickReply smilies.I get a 404 error when using the pop-up smilies which doesnt occurs before this product is enabled.

*Edit: Works great now.

superjeff 05-31-2008 01:01 PM

Thanks for the info.

For the template uncached, edit "Load templates" plugin.
For GT QuickReply smilies you should replace relative links with absolute

Adam21 05-31-2008 01:06 PM

Quote:

Originally Posted by superjeff (Post 1537021)
Thanks for the info.

For the template uncached, edit "Load templates" plugin.
For GT QuickReply smilies you should replace relative links with absolute

Just did that.Works like a breeze now!Thank you :)

Adam21 06-01-2008 09:09 AM

Anyway to make all url ends in .html instead of a slash /?

superjeff 06-01-2008 06:51 PM

Wait the next version :)

therogueforums 06-02-2008 03:34 AM

Just a question... what kind of a server load does this rewrite add?

superjeff 06-02-2008 07:51 AM

The actuall version is very light. Doing a stat on page load time, (10 test) i haven't see any increment.
With the next version i'd like to post a graph of the page load time for the three rewrite type that i will introduce

activa 06-02-2008 10:50 PM

Quote:

Originally Posted by superjeff (Post 1536936)
Sure! Can i have a list of all the caracter to replace in your lenguage?

this is for arabic

Code:

ا، ب، ت، ث، ج، ح، خ، د، ذ، ر، ز، س، ش، ص? ض? ط، ظ، ع، غ، ف، ق، ك، ل، م، ن، هـ، و، ي
Code:

أ ب ج د ﻫ و ز ح ط ي ك ل م ن س ع ف ص ق ر ش ت ث خ ذ ض ظ غ
best regards

superjeff 06-03-2008 10:22 AM

Yes ok.. but i shoul have the corrispective character to replace..
Example:
à = a
ò = o
ك، = ?

akee 06-03-2008 12:01 PM

Hungarian character (ABC)

Code:

A = a
? = ?
B = b
C = c
Cs = cs
D = d
Dz = dz
Dzs =dzs
E = e
? = ?
F = f
G = g
Gy = gy
H = h
I = i
? = ?
J = j
K = k
L = l
Ly = ly
M = m
N = n
Ny = ny
O = o
? = ?
? = ?
Ő = ő
P = p
Q = q
R = r
S = s
Sz = sz
T = t
Ty = ty
U = u
? = ?
? = ?
Ű = ű
V = v
W = w
X = x
Y = y
Z = z
Zs = zy


pigal 06-03-2008 04:53 PM

Ciao Davide,
ottimo lavoro!!!

superjeff 06-03-2008 06:49 PM

Quote:

Originally Posted by pigal (Post 1539842)
Ciao Davide,
ottimo lavoro!!!

Traslate is:
Quote:

Hello Davide (my real name)
Good job!
Thank you :)

maidos 06-04-2008 09:49 AM

a member started a thread with title of
>:[ ...

but no one can access the thread

get this link instead forum/f20/-10811/

also when someone gives a link like this forum/showpost.php?p=1539922&postcount=229 and try viewing the thread link from that site it gives me error file not found

superjeff 06-04-2008 10:45 AM

Quote:

Originally Posted by maidos (Post 1540454)
a member started a thread with title of
>:[ ...

Add a letter in the title and it will work.. i never thinked about it!

Quote:

Originally Posted by maidos (Post 1540454)
also when someone gives a link like this forum/showpost.php?p=1539922&postcount=229 and try viewing the thread link from that site it gives me error file not found

This is because, to don't do query (thread[forumid] isn't cached) the plugin build the url to the post in the discussion using the esisting url (showpost.php?p=1539922&postcount=229)
Tomorrow i hope to start to fix all these bugs. Sorry.

maidos 06-04-2008 10:51 AM

so by tomorrow will you fix those two bugs?

thanks

superjeff 06-04-2008 11:17 AM

I hope yes (i have a lot of other think to fix), not sure

superjeff 06-04-2008 03:30 PM

I have discovered a bug with vb 3.7.1, so please wait to upgrade.

futureye 06-04-2008 06:09 PM

for Arabic

ا=A
أ=A
ب =B
ت=T
ث =TH
ج =J
ح =H
خ=KH
د =D
ذ=DH
ر=R
ز=Z
س=S
ش=SH
ص=S
ض =DH
ط =T
ظ =DH
ع =A
غ =G
ف =F
ق =Q
ك=K
ل=L
م=M
ن=N
ه=H
و=O
ي=Y

it not perfect but as I could I tried to translated
bec many Arabic letters can nit be translated

superjeff 06-04-2008 07:02 PM

I will use this, thank you, but IMHO this will not help in the rank...

maidos 06-05-2008 12:29 AM

canuamke sure so ur next release will support the common symbolic character like symbols found on english keyboard

superjeff 06-05-2008 02:23 PM

Quote:

Originally Posted by maidos (Post 1541121)
canuamke sure so ur next release will support the common symbolic character like symbols found on english keyboard

?
UPDATED: if you find othrer bug, please lend me know

soulplayer 06-05-2008 03:30 PM

Always get this error:
Fatal error: Call to undefined function tfseo_url() in /var/www/virtual/xeonix.be/htdocs/includes/class_postbit.php(265) : eval()'d code on line 1

functions_tfseo.php => in /htdocs/includes/
PHP Version 5.2.0-8+etch11

Any known fix?

superjeff 06-05-2008 03:49 PM

No!
Please try to enable debug mode and report me if the ./includes/functions_tfseo.php is "cached".


All times are GMT. The time now is 12:24 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.02222 seconds
  • Memory Usage 1,845KB
  • 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
  • (6)bbcode_code_printable
  • (2)bbcode_html_printable
  • (2)bbcode_php_printable
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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