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?


All times are GMT. The time now is 04:43 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.02055 seconds
  • Memory Usage 1,756KB
  • 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
  • (1)bbcode_html_printable
  • (2)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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