Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
Search Engine Optimization For Your Archive Details »»
Search Engine Optimization For Your Archive
Version: 0.9.2, by Milad Milad is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 03-19-2006 Last Update: 03-26-2006 Installs: 26
Uses Plugins
Code Changes Is in Beta Stage  
No support by the author.

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 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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 03-23-2006, 12:03 PM
Milad's Avatar
Milad Milad is offline
 
Join Date: Apr 2005
Location: Syro
Posts: 663
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by city-love
سؤال مافائدة الهاك بالعربي من فضلك ؟
translation: What are the benefits of this hack?

This hack adds thread title in the archive URLs as keywords so it'll give your pages a higher ranking in search engines.

In Arabic:
يُضيف هذا الهاك عنوان الموضوع في روابط الأرشيف ككلمات مفتاحية keywords
وبذلك يُعطي لصفحاتك ترتيباً أعلى في محركات البحث.
Reply With Quote
  #13  
Old 03-25-2006, 06:14 AM
lazytown lazytown is offline
 
Join Date: Feb 2004
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd still like to see a demo of this (the one provided says "Bandwidth Exceeded")

-vissa
Reply With Quote
  #14  
Old 03-25-2006, 09:23 AM
Milad's Avatar
Milad Milad is offline
 
Join Date: Apr 2005
Location: Syro
Posts: 663
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's working !!
Reply With Quote
  #15  
Old 03-27-2006, 11:42 AM
Milad's Avatar
Milad Milad is offline
 
Join Date: Apr 2005
Location: Syro
Posts: 663
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

0.9.1 Released

Edit: 0.9.1 re-uploaded as 0.9.2 , minor change.
Reply With Quote
  #16  
Old 03-28-2006, 09:43 AM
ThorstenA's Avatar
ThorstenA ThorstenA is offline
 
Join Date: Nov 2004
Posts: 669
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think you can change these variables by using plugin. See the "Put google adsense in plugin", as far as I remember it was also dealing with the same variables like this code modification.
Reply With Quote
  #17  
Old 03-29-2006, 12:07 AM
Nixpeiler's Avatar
Nixpeiler Nixpeiler is offline
 
Join Date: Mar 2002
Location: Germany
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice Milad thx for this hack
for my german forum I extend yor array to

Code:
    	$search_replace = array(
    		'.' => '',
	        ':' => '',
	        ';' => '',
	        '!' => '',
	        '?' => '',
	        '\'' => '',
	        '\\' => '',
	        '/' => '',
	        '&gt;' => '',
	        '&lt;' => '',
	        '&quot;' => '',
   	        '&amp;' => '',
	        '$' => '',
	        ')' => '',
        	'?' => 'ae',
        	'?' => 'ue',
        	'?' => 'oe',
        	'?' => 'AE',
        	'?' => 'UE',
        	'?' => 'OE',
        	'?' => 'ss',
        	'<' => '',
        	'>' => '',
        	'#' => '',
        	'„' => '',
        	'“' => '',
        	'?' => '',
        	'[' => '',
         	']' => '',
         	'}' => '',
        	'{' => '',
	        '(' => ''
	    );
regards
Reply With Quote
  #18  
Old 03-29-2006, 01:59 PM
Milad's Avatar
Milad Milad is offline
 
Join Date: Apr 2005
Location: Syro
Posts: 663
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think no problem with these charachters, look in wikipedia there are arabic letters, and I run this in my forum without problems.
what do you think?
Reply With Quote
  #19  
Old 03-30-2006, 10:38 AM
Nixpeiler's Avatar
Nixpeiler Nixpeiler is offline
 
Join Date: Mar 2002
Location: Germany
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hello Milad

problem is in the german-language ä, ü, ö ....

without that the url shows
archive/t-102215-BilligFlug-in-die-T%FCrkei-Egal-wo.html

with the change
archive/t-102215-BilligFlug-in-die-Tuerkei-Egal-wo.html

I hope you understand which I mean (my bad English)

regards
Reply With Quote
  #20  
Old 04-03-2006, 11:18 AM
Milad's Avatar
Milad Milad is offline
 
Join Date: Apr 2005
Location: Syro
Posts: 663
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I understood you, but I have the same problem with arabic language, but I believe there is no problem.
You had this URL in the address bar, but google will understand it as it is
Reply With Quote
  #21  
Old 08-08-2006, 03:32 PM
lightwave lightwave is offline
 
Join Date: Sep 2004
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How come no one is installing this? such a great mod!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:35 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.07489 seconds
  • Memory Usage 2,337KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (10)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete