vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Board Optimization - SEO YouTube and Google Videos (https://vborg.vbsupport.ru/showthread.php?t=131567)

silks 11-21-2006 08:26 PM

hi have had this working great on my forum
went to turn html on in one of my forums and got this error

Fatal error: Field seo_videos_bar is not defined in $validfields in class vb_datamanager_forum in /includes/class_dm.php on line 485

HTML wont turn on? any ideas

Eagle Eyes 11-22-2006 02:19 AM

Adult SEO,

You didn't answer my question. Post 167.

https://vborg.vbsupport.ru/showpost....&postcount=167

Adult SEO 11-22-2006 02:28 AM

Quote:

Originally Posted by Eagle Eyes (Post 1121096)
I uninstalled it, since it was full of bugs.

You have fixed the similie bug. Good job!

Well i think you need good instructions for installing.

Before i install it again, i wanna make sure i am doing things right.


Right now, i use the one .htaccess file which effects all the subdirectories.

Currently my .htaccess file looks like this.


How should i paste your .htaccess code?

By the way, Google and Youtube images from the editor are gone!! Nothing there.

Hi!

This code should work, I've also optimized your existing code.

Code:

## OpenSEF plain htaccess file
 
## Can be commented out if causes errors
Options FollowSymLinks
 
## mod_rewrite in use
RewriteEngine On
 
## If Joomla is installed in the web server root
## RewriteBase /
## If Joomla is installed in a sub-directory
## RewriteBase /directory_name_here
RewriteBase /


RewriteEngine on
RewriteCond %{HTTP_HOST} ^pakistaniforces\.com
RewriteRule ^(.*)$ http://www.pakistaniforces.com/$1 [L,R=301]
 
RewriteRule ^(sitemap.*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
 
RewriteCond %{HTTP_HOST} ^pakistaniforcesforum\.com
RewriteRule ^(.*)$ http://www.pakistaniforcesforum.com/index.php?styleid=35/$1 [L,R=301]
 
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^videos\.html&page=([0-9]+)$ http://www.pakistaniforcesforum.com/videos-page$1.html [L,R=301]
 
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^videos\.html$ index.php?videos=1 [L]
 
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^videos-page([0-9]+)\.html$ index.php?videos=$1 [L]

 
## Begin 3rd Party or OpenSEF Section
##
#RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR]  ##optional - see notes##
RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$  [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php
##
## End 3rd Party or OpenSEF Section

Note! This code has been edited, use the code from this message not from the email.

xitrum 11-22-2006 04:17 AM

Quote:

Originally Posted by xitrum (Post 1121703)
Thanks Adult SEO . That works!
However, I am still having problem with Google Video post. I kept getting this error:

Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /includes/class_bbcode.php(166) : eval()'d code on line 65

Warning: file_get_contents(http://video.google.com/videoplay?do...85656910458954) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /includes/class_bbcode.php(166) : eval()'d code on line 65

The video display ok and I can play but kept getting this error. Could this have anything to do with mod rewrite disable on my host? TIA.

-xitrum

P.S. You can see the error here:

http://hoangtram.com/forum/showthread.php?t=7600

Adult SEO,

I think this has to do with fopen() and URL file access is disable problem with many hosts. It would be nice if you use cURL to make it more portable. Thanks.

-xitrum

Adult SEO 11-22-2006 04:24 AM

Quote:

Originally Posted by xitrum (Post 1122757)
Adult SEO,

I think this has to do with fopen() and URL file access is disable problem with many hosts. It would be nice if you use cURL to make it more portable. Thanks.

-xitrum

Hi!

The mod has cURL support from the beginning! You can enable it from the adminpanel.

cURL will also ensure that the user doesn't have to wait for minutes when a videohost is down since you can specify the connection timeout and it will also ensure that the videohosts don't ban you as fast as they may when they detect your server being accessing the videos as cURL will simulate a real user!

Best Regards,
Jan Jaap

camdude 11-22-2006 07:58 AM

Is previous post also an answer to how the .htaccess file should be written for boards that are installed in a subdirectory ? My forum is installed in /forum and the videobar isnt working with that rewrite condition .. See posts 179 and 180

Can you post an example of a rewrite rule for /forum ?

xitrum 11-22-2006 05:23 PM

Quote:

Originally Posted by Adult SEO (Post 1122761)
Hi!

The mod has cURL support from the beginning! You can enable it from the adminpanel.

cURL will also ensure that the user doesn't have to wait for minutes when a videohost is down since you can specify the connection timeout and it will also ensure that the videohosts don't ban you as fast as they may when they detect your server being accessing the videos as cURL will simulate a real user!

Best Regards,
Jan Jaap

Awesome!!! Thanks Jan. That works....

silks 11-22-2006 07:35 PM

does anyone else have trouble using html on with this hack ?

Hastin 11-23-2006 11:48 AM

Great hack, but have a couple of issues:

1. What would the .htaccess look like for a forum installed in /forums/?
2. It seems that all my videos in the index are black. I've tracked this down to how the script is parsing the videoid. Most of my videos have the wrong id in the database. What's going on?

Adult SEO 11-23-2006 11:56 AM

Quote:

Originally Posted by Hastin (Post 1123569)
Great hack, but have a couple of issues:

1. What would the .htaccess look like for a forum installed in /forums/?
2. It seems that all my videos in the index are black. I've tracked this down to how the script is parsing the videoid. Most of my videos have the wrong id in the database. What's going on?

Code:

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^videos\.html&page=([0-9]+)$ http://www.micechat.com/forums/videos-page$1.html [L,R=301]
 
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^videos\.html$ index.php?videos=1 [L]
 
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^videos-page([0-9]+)\.html$ index.php?videos=$1 [L]

Regarding the wrong ID's, could you please show me an example?

Best Regards,
Jan Jaap


All times are GMT. The time now is 03:02 PM.

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.01211 seconds
  • Memory Usage 1,752KB
  • 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
  • (2)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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