vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - Video-Directory Remixed (https://vborg.vbsupport.ru/showthread.php?t=200819)

soundbarrierpro 09-19-2010 10:15 PM

Has anybody figured out the re-write for vbSEO yet? I really want to have url's seo'd and be able to comment.

Also, where is the RSS feed found? I have it enabled but don't know where the feed is.

soundbarrierpro 09-19-2010 10:29 PM

Quote:

Originally Posted by Jaxel (Post 1861654)
just change the template, and yes...

@Yotsume... fixed in next version.

Which template to change the look of the thumbs/info for listing page?

captain-busa 09-20-2010 06:40 AM

Quote:

Originally Posted by soundbarrierpro (Post 2100705)
Has anybody figured out the re-write for vbSEO yet? I really want to have url's seo'd and be able to comment.

Also, where is the RSS feed found? I have it enabled but don't know where the feed is.

Here is what I have for VBSEO and it's working about 90%

'^video\.php\?do=viewdetails&categoryid=(\d+)&cate gorytitle=(.*)&videoid=(\d+)&videotitle=(.*)'=>'vi deos/$2-$1/$4-$3.html'
'^video\.php\?do=viewcategory&categoryid=(\d+)&cat egorytitle=(.*)&page=(\d+)'=>'videos/$2-$1/$3/'
'^video\.php\?do=viewcategory&categoryid=(\d+)&cat egorytitle=(.*)'=>'videos/$2-$1/'
'^video\.php'=>'videos/'

This will allow the vids to be created and then a new forum opened for each video, you can comment in the new thread but you can't comment in the "Videos" section where you uploaded the video initially....

When you try to post to the "Videos" section you get the error "Invalid Video Specified"

I worked with support from VBSEO to get where I am now but they closed the ticket and told me this was a coding problem here... Frustrating to say the least....

soundbarrierpro 09-20-2010 11:00 AM

Quote:

Originally Posted by captain-busa (Post 2100831)
Here is what I have for VBSEO and it's working about 90%

'^video\.php\?do=viewdetails&categoryid=(\d+)&cate gorytitle=(.*)&videoid=(\d+)&videotitle=(.*)'=>'vi deos/$2-$1/$4-$3.html'
'^video\.php\?do=viewcategory&categoryid=(\d+)&cat egorytitle=(.*)&page=(\d+)'=>'videos/$2-$1/$3/'
'^video\.php\?do=viewcategory&categoryid=(\d+)&cat egorytitle=(.*)'=>'videos/$2-$1/'
'^video\.php'=>'videos/'

This will allow the vids to be created and then a new forum opened for each video, you can comment in the new thread but you can't comment in the "Videos" section where you uploaded the video initially....

When you try to post to the "Videos" section you get the error "Invalid Video Specified"

I worked with support from VBSEO to get where I am now but they closed the ticket and told me this was a coding problem here... Frustrating to say the least....


Good job mate. I wonder why this is? Very strange to say the least. I definitely need for the members to comment on the actual video. While I do have it directed to list the comments on the forum as well. Many visitors won't get involved in the forum. They'd rather comment the video.

Otherwise, this is a fantastic mod. Everything I wanted, needed in one "FREE" package.

JacquiiDesigns 09-20-2010 05:42 PM

More vBSEO crr @ http://www.vbseo.com/f23/video-direc...ix-crrs-38663/

Quote:

'^video\.php\?do=viewrecent'=>'videos/recent-videos.html'
'^video\.php\?do=viewtag&tag=(.*)'=>'videos/tags/$1/'

'^video\.php\?do=viewcategory&categoryid=(\d+)&cat egorytitle=(.*)&sort=dateline&order=DESC&page=(\d+ )'=>'videos/$2-$1/page-$3/'
'^video\.php\?do=viewdetails&categoryid=(\d+)&cate gorytitle=(.*)&videoid=(\d+)&videotitle=(.*)'=>'vi deos/$2-$1/$4-$3.html'
'^video\.php\?do=viewcategory&categoryid=(\d+)&cat egorytitle=(.*)&page=(\d+)'=>'technique/$2-$1/$3/'
'^video\.php\?do=viewcategory&categoryid=(\d+)&cat egorytitle=(.*)'=>'videos/$2-$1/'
'^video\.php'=>'videos/'

soundbarrierpro 09-20-2010 06:10 PM

Hi @ jacquiicooke

that won't work, at least for me, because the video director settings is specifically looking for the rewrite rules configured with the package. Once I add the rewrite rules in your post, then go back and refresh the vid directory options in ACP, it's still saying to add the package re-write rules. And I get a mysql cannot connect to database message.

JacquiiDesigns 09-20-2010 06:58 PM

Quote:

Originally Posted by soundbarrierpro (Post 2101080)
Hi @ jacquiicooke

that won't work, at least for me, because the video director settings is specifically looking for the rewrite rules configured with the package. Once I add the rewrite rules in your post, then go back and refresh the vid directory options in ACP, it's still saying to add the package re-write rules. And I get a mysql cannot connect to database message.

Ooops - sorry. I believe the settings looks for "//Video-Directory" code - so add that at the top of the rewrite rules and the message should no longer appear:

Quote:

//Video-Directory
'^video\.php\?do=viewrecent'=>'videos/recent-videos.html'
'^video\.php\?do=viewtag&tag=(.*)'=>'videos/tags/$1/'

'^video\.php\?do=viewcategory&categoryid=(\d+)&cat egorytitle=(.*)&sort=dateline& order=DESC&page=(\d+)'=>'videos/$2-$1/page-$3/'
'^video\.php\?do=viewdetails&categoryid=(\d+)&cate gorytitle=(.*)&videoid=(\d+)&v ideotitle=(.*)'=>'videos/$2-$1/$4-$3.html'
'^video\.php\?do=viewcategory&categoryid=(\d+)&cat egorytitle=(.*)&page=(\d+)'=>' technique/$2-$1/$3/'
'^video\.php\?do=viewcategory&categoryid=(\d+)&cat egorytitle=(.*)'=>'videos/$2-$1/'
'^video\.php'=>'videos/'

soundbarrierpro 09-20-2010 09:09 PM

Hmm...interesting. Now neither of the rewrite rules work. The message went away in the ACP, but with re-write rules added, the page doesn't resolve. I take the rewrite rules out and the page resolves again.

soundbarrierpro 09-20-2010 11:16 PM

Quote:

Originally Posted by JacquiiCooke (Post 2101110)
Ooops - sorry. I believe the settings looks for "//Video-Directory" code - so add that at the top of the rewrite rules and the message should no longer appear:

Ok, scratch that. I forgot I changed the page variable to customize the URL, originally. I used re-writes jacquii posted and it works like a charm.

Good work Jacquii!

JacquiiDesigns 09-21-2010 04:46 AM

Wish I could take credit for it - but it was posted over at the vBSEO forums.
Glad to be of help though! ;)


All times are GMT. The time now is 04:38 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.03172 seconds
  • Memory Usage 1,751KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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