vBulletin Search Engine Optimization
This is a discussion on vBSEO Functions for Extensibility within the General Discussion forums, part of the vBSEO SEO Plugin category; vBSEO Functions for Extensibility There are several vBSEO functions that can be used by external scripts. NOTE: Always include the ...
| |||||||
Enhancing 80 million pages. | Register | FAQ | Members List | Social Groups | Calendar | Search | Today's Posts | Mark Forums Read |
| | ||||
| ||||
| vBSEO Functions for Extensibility vBSEO Functions for Extensibility There are several vBSEO functions that can be used by external scripts. NOTE: Always include the functions_vbseo.php file. Since it may already be included, the following statement should be used: Code: include_once 'includes/functions_vbseo.php'; Code: $seo_title = vbseo_filter_text($title); // " A simple example here!" => "simple-example-here" 2. To create vB URLs, the following calls are required (these should be executed *once*): Code: vbseo_get_options(); vbseo_prepare_seo_replace(); vbseo_get_forum_info(); Code: $forumurl = vbseo_forum_url($forumid, $pagenum); Code: $threadurl = vbseo_thread_url_row($threadrow, $pagenum); array( 'threadid'=>xxx, 'title'=>xxx, .... ); 5. This function returns the vBSEO URL for the member profile based on the user id and username: Code: $memberurl = vbseo_member_url_row($userid, $username); Code: $memberlisturl = vbseo_memberlist_url($letter, $pagenum); Code: vbseo_any_url($url) Quote:
Quote:
These are the most useful functions. If you are doing a specific hack (or modification) and need more insight don't hesitate to ask We'll be launching an enhanced API, but that's further down the road Update (supported in vBSEO2.4.1+) 8. This function allows to replace META tags with custom value: Quote:
vbseo_replace_meta('keywords', 'keywords replacement'); 9. This function returns the specific vBSEO URL for the thread based thread row: Quote:
'new' - new post URL 'last' - last post URL 'next' - next thread URL 'prev' - previous thread URL
__________________ Juan Muriente / Crawlability Inc. Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations 6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You. Last edited by Oleg Ignatiuk; 11-16-2007 at 04:37 PM. |
|
#2
| ||||
| ||||
| Re: vBSEO Functions for Extensibility
awesome list.. juan.. brilliant will help a lot for the custom hacks i am doing for my site .. |
|
#3
| |||
| |||
| Re: vBSEO Functions for Extensibility
this is great Juan but can it be used if the scripts are in the root! as is with mine? |
|
#4
| ||||
| ||||
| Re: vBSEO Functions for Extensibility
The functions referenced here create vB URLs only. From this point, they should work fine no matter where the scripts reside
__________________ Juan Muriente / Crawlability Inc. Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations 6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You. |
|
#5
| |||
| |||
| Re: vBSEO Functions for Extensibility
Hi Juan, Maybe yo can give me some additional help here. I have a page located a domain.com/directory/page.php and my forums are at domain.com/forum/. page.php includes vb functions with global.php and others as needed. So I can add the include for the functions_vbseo.php no problem but what would this actually look like for this page? Code:
|
|
#6
| ||||
| ||||
| Re: vBSEO Functions for Extensibility Quote:
Also, with new vBSEO 2.2.1 it is possible to create CRR for non-vB folders.
__________________ Juan Muriente / Crawlability Inc. Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations 6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You. |
|
#7
| ||||
| ||||
| Re: vBSEO Functions for Extensibility
Added function #7 (available in vBSEO 2.3.0 and up)
__________________ Juan Muriente / Crawlability Inc. Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations 6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You. |
|
#8
| |||
| |||
| Re: vBSEO Functions for Extensibility
Hallo, wäre jemand so freundlich und würde das übersetzen? Danke |
|
#9
| ||||
| ||||
| Re: vBSEO Functions for Extensibility
Hallo, Quote:
__________________ Philipp Herbers / Crawlability Inc. Support Team gibt neues Supportsystem frei Verbesserter Support für unsere Kunden vBSEO 3.2.0 freigegeben - Maximale Optimierung für Ihren Web-Traffic! Über 100 weitere SEO Optimierungen 6X Traffic - $1400 in einem Tag durch vBSEO! Stellen Sie sich vor, was die patentierte vBSEO Technologie für Sie tun kann. |
|
#10
| |||
| |||
| Re: vBSEO Functions for Extensibility
vielen dank phillipp |
|
#11
| ||||
| ||||
| Re: vBSEO Functions for Extensibility
For function #4 listed above, vbseo_thread_url_row, is there also a way of getting the 'new post' version as well? In specific, the 'Newest Post in Thread' Redirect URL Format version? (Even though last-post and new-post have in the same name in the vbseocp menu, it's the new-post format I'm after.) Thanks, Kevin |
|
#12
| ||||
| ||||
| Re: vBSEO Functions for Extensibility
Hello Kevin, we will include a special function for this in vBSEO2.4.1: vbseo_thread_url_row_spec($thread_row, $spec); Updated tutorial: vBSEO Functions for Extensibility thank you for suggestion!
__________________ Oleg Ignatiuk / Crawlability Inc. Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations 6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You. |
|
#13
| ||||
| ||||
| Re: vBSEO Functions for Extensibility Quote:
|
|
#14
| |||
| |||
| Re: vBSEO Functions for Extensibility
[quote=Juan Muriente]4. This function returns the vBSEO URL for the thread based on the *associated array fetched from the database (db record)*: Code: $threadurl = vbseo_thread_url_row($threadrow, $pagenum); array( 'threadid'=>xxx, 'title'=>xxx, .... ); Where can I get more information about that array?! I cannot get that function to work ;( Tobi |
|
#15
| ||||
| ||||
| Re: vBSEO Functions for Extensibility
Hello Tobi, this is an array retrieved with mysql_fetch_array() function from "thread" db table. Here is an example: PHP Code:
__________________ Oleg Ignatiuk / Crawlability Inc. Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations 6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You. |
| Thread Tools | |
| |
LinkBacks (?)
| ||||
| Posted By | For | Type | Date | |
| vbSEO and vbGallery - PhotoPost Community | This thread | Refback | 05-20-2008 10:57 AM | |
| Compatibility With Vbseo? - BBpixel Forum | This thread | Refback | 04-02-2008 02:39 PM | |
| Digg Display & Digg Count - Page 2 - vBulletin.org Forum | This thread | Refback | 01-17-2008 07:26 PM | |
| TNX + vBulletin - Page 2 - TNX Support forums | This thread | Refback | 10-21-2007 07:28 AM | |
| Compatibility With Vbseo? - BBpixel Forum | This thread | Refback | 02-02-2007 10:57 PM | |
| SEO for Articles - MadeByMary | This thread | Refback | 01-31-2007 07:26 AM | |
| DownloadsII - Page 59 - vBulletin.org Forum | This thread | Refback | 12-07-2006 12:51 PM | |
| FPS_EXTERNAL.PHP -- New options added & RSS compliant version of external.php - vBulletin.org Forum | This thread | Refback | 10-09-2006 11:04 PM | |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| vBSEO 2.4.0 Released - Includes Google AdSense Targeting Feature! | Juan Muriente | vBSEO Announcements | 74 | 05-20-2006 10:29 PM |
| vBSEO 2.0 RC7 Released | Juan Muriente | vBSEO Announcements | 17 | 09-09-2005 12:00 AM |