vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - 8WayRun.Com - Media Library (https://vborg.vbsupport.ru/showthread.php?t=240677)

hotslot 05-02-2010 05:39 PM

Google seems not to like the media. Has anyone actually got there media files indexed in google? I cannot even get the main media file landing page to index.

Jaxel 05-02-2010 05:40 PM

I have just finished the system to easily upload and update hoster services... will be coming with the next version.

hotslot 05-02-2010 05:51 PM

Quote:

Originally Posted by harleyparts (Post 2030535)
had to work hard to find it but here it is
you go into /media/media_submit.php

look for
Code:

$threadman->set('open', false);;
change it to
Code:

$threadman->set('open', true);;

Thanks Harley.. So I went into the style manger and tried to find this however was unable to. I show an 8milesubmit and a 8milesubmitsmall.

Im trying to find a way to pull my head out of my, Fill in the blank. lol

Please assist.

Gn_Snake 05-02-2010 07:32 PM

[QUOTE = harleyparts; 2030584] quello che ho postato ? il codice per rendere il thread aperto sul posto invece di chiudere ... cos? la gente pu? replay [/ QUOTE]

I did not understand harleyparts , i want to know how to run the plugin with vBSEO :confused:

Thanks

markwein 05-02-2010 08:31 PM

Installed...works awesome!

synseal 05-02-2010 09:10 PM

Quote:

Originally Posted by synseal (Post 2029726)
I already have a .htaccess file in the forum root for VBSEO, I have tried adding the info from the .htaccess in this download and adding it to that but when I click on the categories it goes back to the forum homepage with the "Should URLs within the media library be slugged for SEO?" turned on, if I turn it off the categories load fine.

Any idea's please.

Just asking again if anyone has a fix for my previous post thanks.

your24hourstore 05-02-2010 11:13 PM

Quote:

Originally Posted by hotslot (Post 2030682)
Thanks Harley.. So I went into the style manger and tried to find this however was unable to. I show an 8milesubmit and a 8milesubmitsmall.

Im trying to find a way to pull my head out of my, Fill in the blank. lol

Please assist.

let me get this straight first of all. somebody wanted this code to open the threads on auto post so people could reply, thats what this is for, and you wont find it in styles and templates because its in a PHP file called /media/media_submit.php and its in your server not styles

if you are the one who asked me, tell me so i don't have to go back and read every post to see who wanted this LOL

your24hourstore 05-02-2010 11:19 PM

Quote:

Originally Posted by synseal (Post 2030756)
Just asking again if anyone has a fix for my previous post thanks.

that would help to see what your talking about, as you can tell your is a kind of unique problem, probably related to another hack messing it up.

jaxel is pumping out code like crazy and cant stop to fix some unique Bug, you may have to wait until he has time, So until then just don't SLUG for SEO. would be my word on it.

bump your thread on occasion and somebody will help you when they know what to do

your24hourstore 05-03-2010 12:17 AM

Quote:

Originally Posted by hotslot (Post 2029291)
If anyone has any ideas on how to customize the Auto-Create Thread section while uploading a video I could use some help. The forum thread auto locks and that's not what I want. Also It shows the video clip link in forum thread twice once on top and once on bottom.. Looks to spammy IMO and would like only the clip link in thread once.

warm regards

it was you wanted the open thread code :D well there it is

Brandon Sheley 05-03-2010 01:10 AM

nice looking mod, will be watching this one

thx

hotslot 05-03-2010 01:32 AM

Quote:

Originally Posted by harleyparts (Post 2030825)
let me get this straight first of all. somebody wanted this code to open the threads on auto post so people could reply, thats what this is for, and you wont find it in styles and templates because its in a PHP file called /media/media_submit.php and its in your server not styles

if you are the one who asked me, tell me so i don't have to go back and read every post to see who wanted this LOL

Thank You Harley!!!

your24hourstore 05-03-2010 01:43 AM

Quote:

Originally Posted by synseal (Post 2030756)
Just asking again if anyone has a fix for my previous post thanks.

Quote:

As you already figured out, you were getting this error because you enabled SEO slugs. There is an additional file which is included in the zip called ".htaccess". You MUST have an apache server, and MUST upload this file to your forum root in order to get SEO slugs to work correctly. Without this file, your website won't know how to translate the SEO slugs into workable URLs.
might see if this Applys to your setup

your24hourstore 05-03-2010 01:44 AM

Quote:

Originally Posted by hotslot (Post 2030883)
Thank You Harley!!!

I think im going to leave mine open too:p

your24hourstore 05-03-2010 01:47 AM

heres the link come on we know this is a hands down clincher for MOTM so go here and vote for it https://vborg.vbsupport.ru/showthrea...24#post2029924

freni32 05-03-2010 02:32 AM

This finally works on vbseo thanks to their support team on vbseo, brian thank you!!! If you have vbseo install like it shows and turn seo plugin on, then in your forum root you need this to be your .htaccess file (change my domain to your domain)

# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.
RewriteEngine On

# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums/)
#RewriteBase /

#RewriteCond %{HTTP_HOST} !^www\.radarreviews\.org
#RewriteRule (.*) http://www.radarreviews.org/forums/$1 [L,R=301]

RewriteCond %{REQUEST_URI} !(media/|admincp/|modcp/|cron|vbseo_sitemap|vbseocp|login)

# Media Library
ReWriteRule ^media/m([0-9]+).*/tags$ media.php?do=tags_edit&mid=$1
ReWriteRule ^media/m([0-9]+).*/edit$ media.php?do=details_edit&mid=$1
ReWriteRule ^media/m([0-9]+).*/report$ media.php?do=report&mid=$1
ReWriteRule ^media/m([0-9]+).*/c(\d+)$ media.php?do=comment_edit&cmt=$2
ReWriteRule ^media/m([0-9]+).* media.php?do=details&mid=$1
ReWriteRule ^media/c([0-9]+).* media.php?do=category&cid=$1
ReWriteRule ^media/u([0-9]+).* media.php?do=user&uid=$1
ReWriteRule ^media/tag/(.*) media.php?do=tag&tid=$1
ReWriteRule ^media/tagcloud.* media.php?do=tag_cloud
ReWriteRule ^media/search/(.*) media.php?do=search&query=$1
ReWriteRule ^media/letter/(.*) media.php?do=letter&query=$1
ReWriteRule ^media/submit.* media.php?do=submit
ReWriteRule ^media/random.* media.php?do=random
ReWriteRule ^media/admin/(\w+).* media.php?do=admin_$1

RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

RewriteCond %{REQUEST_URI} !(media/|admincp/|modcp/|cron|vbseo_sitemap)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php [L,QSA]

Jaxel 05-03-2010 03:56 AM

1 Attachment(s)
Okay... for the importing of new services in the upcoming version, I am bringing back the XML file method. Services will still be database driven, but the ADDING of new services will be XML driven. This makes it easier for people to update their services, as well as add new services.

Attached are some sample XML files. I made it as simple as possible.

I have also added the ability to DELETE services.

hotslot 05-03-2010 03:57 AM

I found out why Google is not liking this program. They want Video-specific tags implemented within each video.

Code Junkies!! We need ya bad on this one! :up:

Here is a sample I was provided:

Code:

<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
        xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
<url>
  <loc>http://www.example.com/videos/some_video_landing_page.html</loc>
    <video:video>   
      <video:content_loc>http://www.site.com/video123.flv</video:content_loc>
      <video:player_loc allow_embed="yes" autoplay="ap=1">http://www.site.com/videoplayer.swf?video=123</video:player_loc>
      <video:thumbnail_loc>http://www.example.com/thumbs/123.jpg</video:thumbnail_loc>
      <video:title>Grilling steaks for summer</video:title> 
      <video:description>Get perfectly done steaks every time</video:description>
      <video:rating>4.2</video:rating>
      <video:view_count>12345</video:view_count>
      <video:publication_date>2007-11-05T19:20:30+08:00.</video:publication_date>
      <video:expiration_date>2009-11-05T19:20:30+08:00.</video:expiration_date>
      <video:tag>steak</video:tag>
      <video:tag>meat</video:tag>
      <video:tag>summer</video:tag>
      <video:category>Grilling</video:category>
      <video:family_friendly>yes</video:family_friendly>
      <video:duration>600</video:duration>
    </video:video>
</url>
</urlset>


flightsim 05-03-2010 04:51 AM

Hello
I have a problem....
All extern Hosters like youtube etc. works great....
when i upload a locavideo is that also no problem... i can see the video with the direct link. When i want to see the video in the system and click on the thumb is this loading... and loading... and loading... but ist never starting. what is wrong?

balkanboy 05-03-2010 05:39 AM

Quote:

Originally Posted by Jaxel (Post 2026017)
For anyone who is having problems getting links to appear with permissions in the navbar... there is a "work-a-round" you can do. It will enable the links for EVERYBODY (they will be stopped with a permission error if they can't use the links, so security is still intact). I believe this problem is an error with VB itself not handling permissions in plugins on some forums. Go into the plugin: "media NAVTAB":

Find the line:
Code:

$perms = media_permissions();

REPLACE with:
Code:

$perms['submit'] = true;
$perms['modtags'] = true;
$perms['modcategory'] = true;
$perms['modservice'] = true;


Not working mate cannot find the line within 8WR_media_NAVTAB

Just cannot admin the plugin which is no use for me at this moment till i can :(

Uninstalled started to get on my nervs runing VB 4.3 PL1....

kawe 05-03-2010 08:12 AM

i have video on my root folder
how to add it ?

Delilahs 05-03-2010 08:18 AM

where do we put the .xml files then?

Rahstyles 05-03-2010 08:50 AM

Quote:

Originally Posted by harleyparts (Post 2030530)
try adding this rapppppppppp rappppppppppp rapppppppppp rapppppppppp rappppppppppp rapppppppppp

then if it is added you can edit it


What the heck are you talking about??? .. how can i add rappppppppppppppppppp rapppppppppppppp


when it overides the discription with the discription in youtube???????

Do yOu uNdErStaNd WhAt Im tAlKiNg AbOuTttttttttttttttt????????????

your24hourstore 05-03-2010 10:27 AM

Quote:

Originally Posted by Rahstyles2008 (Post 2031010)
What the heck are you talking about??? .. how can i add rappppppppppppppppppp rapppppppppppppp


when it overides the discription with the discription in youtube???????

Do yOu uNdErStaNd WhAt Im tAlKiNg AbOuTttttttttttttttt????????????

evidently not i thought you had said that it had no description. good luck with that :>

your24hourstore 05-03-2010 10:32 AM

Quote:

Originally Posted by flightsim (Post 2030950)
Hello
I have a problem....
All extern Hosters like youtube etc. works great....
when i upload a locavideo is that also no problem... i can see the video with the direct link. When i want to see the video in the system and click on the thumb is this loading... and loading... and loading... but ist never starting. what is wrong?

do it play in that thread like in direct link?

your24hourstore 05-03-2010 10:40 AM

Quote:

Originally Posted by Delilahs (Post 2031001)
where do we put the .xml files then?



for the importing of new services in the upcoming version,:)

your24hourstore 05-03-2010 10:44 AM

Quote:

Originally Posted by balkanboy (Post 2030959)
Not working mate cannot find the line within 8WR_media_NAVTAB

Just cannot admin the plugin which is no use for me at this moment till i can :(

Uninstalled started to get on my nervs runing VB 4.3 PL1....

but you didnt go to plugins, goto admincp/pulgins and products/media NAVTAB

look for that bit of code its there i just looked, and add the rest of the new code.

kawe 05-03-2010 11:20 AM

Quote:

Originally Posted by kawe (Post 2031000)
i have video on my root folder
how to add it ?

anyone can answer this problem :D

Rahstyles 05-03-2010 11:43 AM

Quote:

Originally Posted by harleyparts (Post 2031041)
evidently not i thought you had said that it had no description. good luck with that :>

Right it has no description.. so how can you overide the "no discription" with your own discription.. when you write int he body message?

your24hourstore 05-03-2010 11:59 AM

Quote:

Originally Posted by Rahstyles2008 (Post 2031078)
Right it has no description.. so how can you overide the "no discription" with your own discription.. when you write int he body message?

the media page so someone can actually see what it is doing, make sure we have permissions to view it

Rahstyles 05-03-2010 01:50 PM

Quote:

Originally Posted by harleyparts (Post 2031082)
the media page so someone can actually see what it is doing, make sure we have permissions to view it

Whatt???

hotslot 05-03-2010 01:59 PM

hey this is a free plugin that coders work hard to develop. No need to be rude Rahstyles2008

Rahstyles 05-03-2010 02:14 PM

Quote:

Originally Posted by hotslot (Post 2031122)
hey this is a free plugin that coders work hard to develop. No need to be rude Rahstyles2008

I appreciate the mod.. Im not trying to be rude.. i just dont understand why its so hard to understand what im talking about..

hotslot 05-03-2010 02:17 PM

Quote:

Originally Posted by hotslot (Post 2030938)
I found out why Google is not liking this program. They want Video-specific tags implemented within each video.

Code Junkies!! We need ya bad on this one! :up:

Here is a sample I was provided:

Code:

<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
        xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
<url>
  <loc>http://www.example.com/videos/some_video_landing_page.html</loc>
    <video:video>   
      <video:content_loc>http://www.site.com/video123.flv</video:content_loc>
      <video:player_loc allow_embed="yes" autoplay="ap=1">http://www.site.com/videoplayer.swf?video=123</video:player_loc>
      <video:thumbnail_loc>http://www.example.com/thumbs/123.jpg</video:thumbnail_loc>
      <video:title>Grilling steaks for summer</video:title> 
      <video:description>Get perfectly done steaks every time</video:description>
      <video:rating>4.2</video:rating>
      <video:view_count>12345</video:view_count>
      <video:publication_date>2007-11-05T19:20:30+08:00.</video:publication_date>
      <video:expiration_date>2009-11-05T19:20:30+08:00.</video:expiration_date>
      <video:tag>steak</video:tag>
      <video:tag>meat</video:tag>
      <video:tag>summer</video:tag>
      <video:category>Grilling</video:category>
      <video:family_friendly>yes</video:family_friendly>
      <video:duration>600</video:duration>
    </video:video>
</url>
</urlset>


vbseo does not support video sitemaps.

I understand your point now Jaxel. Can we get this added so the feature will be beneficial to the search engines please?

tlwwolfseye 05-03-2010 02:41 PM

Quote:

Originally Posted by tlwwolfseye (Post 2030073)
Is there something missing or is it just me ? I remember in the old Version for 3.8.x I could also have a BB Code Embed Code so I could put it into a Forumpost when I added a video to the collection.

Now I only have the Direct link where its from, for example Youtube with a Youtube Video, a HTML embed code which I can't use because I for sure don't allow HTML in forumposts and a direct link to the video in the media collection. But not BB embed Code.

Why is that not there anymore ?

I wonder if I will get an reply on that. :confused:

Jaxel 05-03-2010 03:31 PM

================================================== =========
Version 4.0.5 SERVICE HOST XML REWRITE AND SITEMAP
================================================== =========
  • NEW FEATURE: You can now add new services by developing your own XML files.
    I will write a guide on how to construct these XML files soon enough, but for now, you'll have to figure it out on your own.
  • NEW FEATURE: Google Video Sitemap now available at "media.php?do=sitemap".
    This sitemap will only parse LOCAL audio and video files.
  • NEW FEATURE: A PHP Direct Execution widget for the vbCMS has been constructed.
    Code:

    ob_start();
    require_once(DIR.'/media/media_functions_hrefs.php');

    $medias = vB::$vbulletin->db->query_read("SELECT * FROM " . TABLE_PREFIX . "media ORDER BY dateline DESC LIMIT 3");

    while ($media = vB::$vbulletin->db->fetch_array($medias))
    {
            if ($media['length'] == 0)
            {
                    $media['length'] = "???";
            }
            else
            {
                    $duration = $media['length'];
                    $minutes = floor($duration / 60);
                    $seconds = $duration % 60;
                    $seconds = str_pad($seconds, 2, "0", STR_PAD_LEFT);
                    $media['length'] = "$minutes:$seconds";
            }

            $media['intrate'] = intval($media['rating']);
            $media['thumbnail'] = vB::$vbulletin->options['media_thumb_dir']."/thumbs/". $media['mediaID'] .".jpg";
            $media['href'] = construct_href_details($media);

            $templater = vB_Template::create('8WR_media_block');
            $templater->register('media', $media);
            $mediabits .= $templater->render();
    }

    $output = $mediabits;
    ob_end_clean();

  • BUG FIX: Fixed some leftover thumbnail problems from the previous version.
  • BUG FIX: Miscellaneous SQL and template errors no one knew about but me.

your24hourstore 05-03-2010 03:48 PM

1 Attachment(s)
im updated :)

waaaa my widget no worky

hotslot 05-03-2010 04:02 PM

Cool, anyway we can simply keep the current version we have now and just get the code/file for the video sitemap? Is this upgrade going to effect the work vbseo has done for us on urls?

hotslot 05-03-2010 04:11 PM

I appreciate this guys work on creating this program but at this time no way it should actually be mod of the month.. Way to many errors, problems, etc

We need a few coders in this thread every hour to insure its stable.

your24hourstore 05-03-2010 04:16 PM

Quote:

Originally Posted by hotslot (Post 2031191)
I appreciate this guys work on creating this program but at this time no way it should actually be mod of the month.. Way to many errors, problems, etc

We need a few coders in this thread every hour to insure its stable.

but I would vote it mod of the year right now:>

this is the stickiest addon ive seen for this POS BBsystem :D

OziloZ 05-03-2010 04:16 PM

Quote:

Originally Posted by OziloZ (Post 2030545)
"Media URL contained invalid data" error with all services.

can anybody help me about this error? I just upgraded to new version.

I get this error when i click "retrieve information" button.


All times are GMT. The time now is 05:59 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.02491 seconds
  • Memory Usage 1,866KB
  • 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_code_printable
  • (24)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
  • (40)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