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)
-   -   Search Engine Optimization For Your Archive (https://vborg.vbsupport.ru/showthread.php?t=110880)

Milad 03-19-2006 10:00 PM

Search Engine Optimization For Your Archive
 
Description: Add keywords to your archive URLs

BETA HACK

Features:
  • Add keywords to your archive URLs.

Planed Features:
  • Google/Yahoo sitemap generator for new URLs style.

Installation:
  1. Install Latest Product
  2. In /archive/global.php
    1. Find: (about line 153)
      PHP Code:

      $output .= "$indent  <li><a href=\"" . (!SLASH_METHOD 'index.php?' '') . "f-$forumid.html\">$forum[title_clean]</a></li>\n"

      And Replcae with:
      PHP Code:

      $output .= "$indent  <li><a href=\"" . (!SLASH_METHOD 'index.php?' '') . "f-$forumidparse_title($forum['title_clean']) . ".html\">$forum[title_clean]</a></li>\n"

    2. Find: (about line 193)
      PHP Code:

      $navarray[] = "<a href=\"" . (!SLASH_METHOD 'index.php?' '') . "f-$forumid.html\">" $vbulletin->forumcache["$forumid"]['title_clean'] . "</a>"

      Replace with:
      PHP Code:

      $navarray[] = "<a href=\"" . (!SLASH_METHOD 'index.php?' '') . "f-$forumidparse_title($vbulletin->forumcache["$forumid"]['title_clean']) . ".html\">" $vbulletin->forumcache["$forumid"]['title_clean'] . "</a>"

  3. In /archive/index.php
    1. Find (about line 299)
      PHP Code:

      $output .= print_archive_page_navigation($foruminfo['threadcount'], $vbulletin->options['archive_threadsperpage'], "f-$foruminfo[forumid]"); 

      Replace with:
      PHP Code:

      $output .= print_archive_page_navigation($foruminfo['threadcount'], $vbulletin->options['archive_threadsperpage'], "f-$foruminfo[forumid]parse_title($foruminfo['title'])); 

    2. Find (about line 374):
      PHP Code:

      $output .= print_archive_page_navigation($threadinfo['replycount'] + 1$vbulletin->options['archive_postsperpage'], "t-$threadinfo[threadid]"); 

      Replace With:
      PHP Code:

      $output .= print_archive_page_navigation($threadinfo['replycount'] + 1$vbulletin->options['archive_postsperpage'], "t-$threadinfo[threadid]parse_title($threadinfo['title'])); 

    3. Find:
      PHP Code:

      $output .= "\t<li><a href=\"" . (!SLASH_METHOD 'index.php?' '') . "t-$thread[threadid].html\">$thread[title]</a>" iif($pda" <i>(" construct_phrase($vbphrase['x_replies'], $thread['replycount']) . ")</i>") . "</li>\n"

      Replace with:
      PHP Code:

      $output .= "\t<li><a href=\"" . (!SLASH_METHOD 'index.php?' '') . "t-$thread[threadid]parse_title($thread['title']) . ".html\">$thread[title]</a>" iif($pda" <i>(" construct_phrase($vbphrase['x_replies'], $thread['replycount']) . ")</i>") . "</li>\n"

  4. Of course Upload your modified files
  5. test your archive and enjoy.
  6. Click https://vborg.vbsupport.ru/ to receive updates.

ChangeLog:
  • 0.9.0 20th, Mar 2006
    • Inital Release.
  • 0.9.1 27th, Mar 2006
    • Function Boosted.
  • 0.9.2 27th, Mar 2006
    • 0.9.1 re-uploaded as 0.9.2 , minor change.

The Chief 03-20-2006 02:40 PM

demo or example? :)

projectego 03-20-2006 02:54 PM

Quote:

Originally Posted by The Chief
demo or example? :)

His forum: http://www.basharialep.com/forum/archive/

Milad 03-20-2006 03:03 PM

This is English Forum http://www.basharialep.com/forum/arc...ish-forum.html

The Chief 03-20-2006 03:25 PM

Quote:

Originally Posted by Milad

nice, looks awesome ;)

puertoblack2003 03-20-2006 05:10 PM

i have vbseo lite installed, will this cause conflict with the scripts?

SaN-DeeP 03-21-2006 07:39 AM

hmmm worth testing. will post my comments after few days.

Snake 03-21-2006 10:40 AM

Thanks man that's just awesome!

Milad 03-21-2006 01:13 PM

Quote:

Originally Posted by puertoblack2003
i have vbseo lite installed, will this cause conflict with the scripts?

Since vBSEO Lite (Not the full one which is better than this of course) doesn't add keywords to URLs, this is better for you.
But for the forum itself, this mod does nothing
My mod is specialized in Archives Only.

So install this and disable VBSEO Lite for your archive

city-love 03-23-2006 09:27 AM

سؤال مافائدة الهاك بالعربي من فضلك ؟


All times are GMT. The time now is 12:40 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.03949 seconds
  • Memory Usage 1,771KB
  • 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
  • (10)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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