Theme Name: MeTube Youtube Clone
Category: Games, My Themes, Video
Date Updated: May 9th, 2010
MeTube Youtube Clone Wordpress Theme Installation:
MeTube is an ads ready, youtube clone, video and game Wordpress theme. Theme has a control panel.
Important:
MeTube theme has a custom navigation function. If you are using wp-pagenavi plugin, deactive that plugin before using this theme. You do not need that plugin. If you forget to deactivate it, you may get a white page error. If you got that error, delete the functions.php in theme folder and deactivate the plugin. Then upload the functions.php into theme folder again.
MeTube Installation:
- Download the zip file from this page. There may be updated files.
- Extract the file,
- Upload the metube folder into wp-content/themes directory,
- Upload the wp-postviews(in plugins folder) folder into wp-content/plugins directory,
- Activate the theme and the wp-postviews plugin.
WP-postviews Plugin:
There are some options in Settings-Postviews but default options are ok. You do not need to change anything. If you want the plugin to count your visits(admin), choose "everyone" for "Count Views From" field.
MeTube Options:
Enter Appearance-MeTube Options and fill in the fields.
- Blog Title: If you do not want to use a logo, write a title,
- Top Center Menu: Write your general video and game category urls. You can create a general Videos category and create subcategoris in this category. You can see the example in demo.
- Top Right Menu: If you want to disable the right top menu, check it.
- Featured Category: This is for homepage. Create a Featured category and write here that category ID.
- Videos Category: Write the general videos category ID.
- Games Category: Write the general games category ID.
- What's New Category: You can have normal blog posts in a category. See the eample posts on right bottom of the demo homepage. Create a category called Blog and write here that categoy ID.
- Featured Video Code: Paste the featured video embed code. This is the video in right sidebar.
- What's New category URL: Write the url of your Blogs category.
- 300*225 Adsense: Paste the Adsense code or a normal banner code.
Logo:
Just change the logo.gif in images folder.
Adding Video, Game or Normal Post:
- After installation, enter Posts-New,
- Write the title,
- If it is a game or video, write the description in content part. If it is a normal post, write everything in the content field,
- Under the content part, you will see "Thumbnail Url" field. Write here the thumbnail image url. Use http://.,
- If it is a video, paste the embed code in "If it is a video" field. Use 640 as the width in embed code. If it is not a video post, do not write anything in this field.
- If it is a game, write the the url of the swf file in "If it is a game" field. Use http://
- If it is a normal post, do not write anything in these two fields. Just add a thumbnail url.
- Choose the category, add the tags and publish it.
Licence:
You must protect the links in footer as is. Please do not delete or edit them.
Help:
If you have any questions, leave a comment and visit the page again in 12-24 hours.
First of All I must say thanks a lot for this great theme. My question is that, is it possible to include our own video player. we can upload video file to our own site and later one add this video file with the proposed video player instead of embedding the video?
yes you can do it but you need to edit the single.php.
open single.php, find:
< ?php $values = get_post_custom_values("video"); echo $values[0]; ?> (there is not a space between < and ?php)
add the video player codes here and also use this code as the video file url.
then, when you submit the video file url in embed field, player will work.
on the demo i see a categories pane on the left side when clicking on “videos” navigation tab at the top. i have downloaded your this template but do not see how to make that appear on the front or main page and be on the right side. also, do you offer any customizing of this template for fees?
on the right side of the search part, there are 2 links: videos and games. you need to create a general video and general game category first. then enter MeTube Control Panel and write these categories urls in “Top Center Menu” fields.
there is a left sidebar in category and search pages. example: http://www.wordpressthemesbook.com/demo/metube/category/videos. this sidebar is widget ready. you can add your own widgets from wordpress admin panel. in default, there are category list and blogroll in this sidebar.
if you want the left sidebar in category pages, appear in homepage, you need to edit index.php. it is not an easy job. you need to change a lot of codes.
yes, i can customize it for you. price will be $15-$30. but you can not remove the links in footer.
if you want a new theme, i can code it for $150. new theme will not include any links and all of the rights wil be yours. i will not sell it again.
you can use the contact page: http://www.wordpressthemesbook.com/contact/
Well Done, great work,
Well one question rise here!!
How can we add more then one adsense unit, it is better if we able to add the adsense left or righ side of the playing video or its top or bottom. Help me about this, Can we use any plugin for this to adding adds on various positions.
plugins will not work. you need to open the single.php or sidebars and add your codes.
if we want to put adds in top of the playing video before its title and then under the playing video then where to put the codes, and then on home page if we want to put our adds in featured video, latest video and latest games where we put the code.
Regards
Thanks for help.
I got the solution of Previous question check my blog at http://apnimastian.net/blog/. One thing more, can we add this that user can search youtube from my site. when user search my site it also shows result from youtube so he can view the video without leaving my site.
You need an api to search youtube. Theme has not got that. Youtube changed it’s system. Creating an api is not an easy job now.
You can set permalinks in your blog. It will be better.
i like your template. is it possible to add videos from dailymotion or from other video hosting sites.
or just can add youtube videos
you can use every embed code. youtube is just an example in demo blog.
copy the embed code from youtube, dailymotion, etc and paste it in “If it is a video” field.
hi when i am putting a you tube video why tumbnail is not coming automatically from a youtube video. or i have to do manually by putting a thumbnail url.
yes, you need to fill in the “Thumbnail Url” field, too.
Hi thanks for this template. i was trying to add widgets on the sidebar (rightside) but nothing come up like i added catagories widget and text/html wideget (for chat box) but not working.
Regards
Thanks in advance
you can use the widgets in archives and search pages only(left sidebar). you can not add widgets in right sidebar of homepage.
if you want to add something in right sidebar, open sidebar_home.php and add your codes.
hi admin
i am using ur template on my site cricspin.uk.to for test. every thing is sorted .only having one problem actually i don’t want to use game category for swf file (games). i want to upload a videos in windows media player in that section. is it possible i can use embed code or html code in that section (same like video catagory) as well.
thanks
yes, you can use windows media player. but you need to edit the single.php file.
- open single.php,
- find “…application/x-shockwave-flash…”,
- delete this line,
- add the windows media player code there.
in wmp code, there should be a file url part. write:
< ?php $values = get_post_custom_values("game"); echo $values[0]; ?> (there is not a space between < and ?)
and save the file.
now, when you write the video file url in “If it is a game” field while you are writting your post, your video file will play in media player.
How if I want to put video category in games section. Do I need to change any codes on single.php? Thanks
no, you do not need to change the codes.
while you are adding new post,
- if you filled in “If it is a video” field, it will be a video post.
- if you filled in “If it is a game” field, it will be a game post.
i love you man.. i love you…. keep it up and thanks for this great theme….
I upload video but it didn’t show any tumbnail video at the home page. How to solve this problem? Thanks in advance…
do not upload videos. use embed codes. also you need to add the image url in thumbnail url field. theme can not create thumbs automaticly.
Where can I get the image url? is it from youtube itself i can get the image url?
click right mouse on image.
Hello,
Excellent theme thanks…
I’d like to add PostRating plugin… how can I get that to work?
you need to read the usage information of the plugin. there is a code there. copy and paste that code in theme files where the rating should appear.
Hi, I love your theme. I tried to replace Featured Video Code but it still showing the taylor swift one. I tried to adjust embed code to 300X200 but still no change. Kindly advise. Thanks
i tried again and it is working fine.
if you are using cache plugins, deactivate and try.
if you did not download the theme from this page, download it from here.
Thanks for reply. I will try it again. Do we need to upload the swf games into our hosting server or we can link it from somewhere else? If yes, Will it consume lots of bandwidth if people play games on our website?
you can use the swf files in other servers. you do not need to upload and use your own swf files. just add the swf url in the field that i told in usage information.
if you have too many visitors, of course bandwidth may be a problem. let’s calculate:
- 1000 visitors/daily
- 5000 pageviews
- a swf file: 300kb
- page images, etc: 100kb
then you need 2gb/monthly bandwidth for 1000 visitors. it is not too much. if you have 50gb bandwidth, your site will be very good. most of the host services give unlimited bandwidth(godaddy, hostgator, etc). cpu is more important than bandwidth.
Great theme. Can we remove the games section and just put videos? How? Thanks
yes, you can. you can remove the Latest Games part in index.php or just change the Latest Games title.
you can use the theme as a video theme, a game theme or both.
Can you Integrate MeTube Theme with TubePress Plugin? http://tubepress.org/
may be in next video theme.
Hi,
Great job with this theme. I am looking for a contest video site where member can participate and upload videos.
I am willing to pay for the effort.
if i were you, i will not do it with wordpress. custom script will be a better solution.
but if you want to do it with wordpress, tdo miniform plugin will help. by this plugin, visitors can upload videos, create posts, etc. or you can give permission to create posts to registered users. then visitors can register and create posts(upload videos).
if your project details are ready, send me an email(contact page). then i can tell a price.
thanks for your reply. I just thought that wordpress will be good because I am a little bit familiar with it.
What do you mean by customer script?
is the miniform plugin to be used on top of the wordtube theme?
I have searched on the internet for existing video contest software and it has been really difficult to find.
custom script means: you tell a coder “do it like this”, and the coder will create a script for you. so, everything will be look like that you told to coder.
i use the tdo miniform plugin in submit page: http://www.wordpressthemesbook.com/submit-theme/
visitor fills in the fields and send the form. if i liked it, i approve it. then it will be published as a post.
you can use tdo miniform like this: visitors fill in form and send. if you like it, you will approve and publish as a post.
sorry my English is not great. you can visit and see what the plugin does: http://wordpress.org/extend/plugins/tdo-mini-forms/
if you want me to create a video contest blog with MeTube or WordTube theme, i can do it for $100.
Hello,
This is a list of requuirements for the site. Please feel free to give suggestion.
…….
i editted your comment. i think you do not want someone to see the list.
i was talking about this. the requirements that you want to are simple features of a contest website but i can not do them(i think nobody can do them with wordpress). it is very difficult to create a website like this with wordpress.
drupal(http://drupal.org) can be a better choose. you can create this kind of websites with drupal. i am not good at drupal so i can not do it. you can try http://groups.drupal.org/jobs.
but again, if i were you, i will find a coder and tell him to create a custom script.
thanks for the prompt reply and your help.
Hi a nice theme. Can you do the customise work so i need to built a site with removal of footer
yes, i do customise work. please send me the detais. you can find my e-mail address in contact page: http://www.wordpressthemesbook.com/contact/
L.O.V.E. IT!!!! Awesome, I was searching for it for so long =D But I have a question, I have a site which has a photo gallery and a news section and I want to add a video section as an addition to it and not as the main thing. Is it possible to use this template for it?
You can create a folder like domain.com/videos and install a new wordpress into this folder. Then you can use this theme for that new blog.
Of course, you can use a subdomain, too. Like videos.domain.com
And third way, you can use this theme only for videos category of your main site but it will not be easy. You need to know a lot of things about themes.
how gud this theme in seo, is this theme loved by gogole, coz most of video theme, dont wrk gud with google.
we can not be sure about this. theme is clean coded. if your website has good backlinks, updated daily, etc, google will love your website.
how i can use custom tags field, i am using auto blogging , how i add tags in post, like custom tags
hi dude, i need a help how i can add tags and description as custom field,
like thumb = image url
like this in custom field, i want to add tags = some tags
and in custom field description = video dscription, i am using auto video post, so i need this badly
thanks for awsome theme.
i dont know how you can add tags as custom fields.
for description as custom field, you need to open the single.php file and add the custom field code. then you can use the custom field for description.
sorry it’s not an easy job. i can not tell in 2-3 sentences. please search google and find information about custom fields in templates.
description not comin evevn i write in content field, how i can fix thoses
download the theme again and reinstall it. it should work. otherwise, write here your url. i will try to understand the problem.
// Edit this data structure to change the form in WordPress:
$sp_boxes = array (
‘Thumbnail URL’ => array (
array( ‘thumb’, ‘Thumbnail URL (Use http://):’ ),
),
‘If it is a video’ => array (
array( ‘video’, ‘Video Embed Code (Best width is 640):’, ‘textarea’ ),
),
‘If it is a game’ => array (
array( ‘game’, ‘Game Swf File URL (Use http://):’ ),
),
);
we have this in functions.php
i need a another box call post tags example
$sp_boxes = array (
‘tags’ => array (
array( ‘tags’, ‘post tags (seprate by commas):’ ),
),
how i can make this wrk i am not coder. plz help me.
there is a default one their but for auto blogging tags not work, so if i have like the above example i will make it work
thanks
try this(but i am not sure):
$sp_boxes = array (
‘Thumbnail URL’ => array (
array( ‘thumb’, ‘Thumbnail URL (Use http://):‘ ),
),
‘If it is a video’ => array (
array( ‘video’, ‘Video Embed Code (Best width is 640):’, ‘textarea’ ),
),
‘If it is a game’ => array (
array( ‘game’, ‘Game Swf File URL (Use http://):‘ ),
),
);
$sp_boxes = array (
‘tags’ => array (
array( ‘tags’, ‘post tags (seprate by commas):’ ),
),
);
or try this:
$sp_boxes = array (
‘Thumbnail URL’ => array (
array( ‘thumb’, ‘Thumbnail URL (Use http://):‘ ),
),
‘If it is a video’ => array (
array( ‘video’, ‘Video Embed Code (Best width is 640):’, ‘textarea’ ),
),
‘If it is a game’ => array (
array( ‘game’, ‘Game Swf File URL (Use http://):‘ ),
),
‘tags’ => array (
array( ‘tags’, ‘post tags (seprate by commas):’ ),
),
);
not working dude.gettering unexpected error
sorry, i could not help. please search in google.
Nice theme dude.like very much i need a help
How i can embed videos having different extensions? without sharing from another website i want to add my own videos.What i can do to achieve this?
if you would like to host the videos in your own server, firstly you need a video player.
you can find at http://www.longtailvideo.com/players/jw-flv-player/, http://flvplayer.com/, http://flowplayer.org/, etc.
then, use the player codes in single.php file in theme folder. you should change this line:
< ?php $values = get_post_custom_values("video"); echo $values[0]; ?>
with your player codes. also you can use this line as video source url.
and, when you are adding a new video, write the video url in “If it is a video” field.
if you do not know php, it can be a little difficult.
thank you for quick reply.
can i get any example code for adding a vide player and video file?
download a player from the sites that i told before. you will see sample codes, etc.
for example download this one: http://www.longtailvideo.com/players/jw-flv-player/
in “thank your for downloading” page, you will see “Set Up Your Player” links. enter http://www.longtailvideo.com/support/jw-player-setup-wizard. at the bottom of the this page, you will see a sample code.
in that code, you need to change the swfobject.js, player.swf urls(write the urls that you upload the files)
and the file url in “so.addVariable” must be the video file url. as i told before, use
< ?php $values = get_post_custom_values("video"); echo $values[0]; ?> (there is not a space between < and ? at the beginning of the code)
then write the video file url in “If it is a video field” while you are adding new post.
if you can not do it yourself, tell me.
thank you very much for ur help……….
I got dat
1. Hello, I would change the edge of images, tell me how can I do?
2. How do I put widgets like PostRatings and the one who ordered the items through a filter most visited, but well evaluated, but commented?
3. Where do I change the size of the images?
1- If you want to change the color of edges of images, open style.css and find “.postimage” and “.postimage img”. You will see border codes. Change 999999 with your color code.
2- I did not use postratings plugin in this theme. You can install it and use it’s widgets. To show the most visited videos, you can find informations at http://lesterchan.net/wordpress/readme/wp-postviews.html
3- size of images:
- Open style.css and find “.postimage img”. Change the width and height.
- Open index.php, archive.php, search.php. Find width=”120″ height=”72″. And change the values.
Hello, first thank you for responding so fast.
But think no doubt in my second I was very not clear.
I would in the add some plugins this theme so that stay as the images below:
http://img801.imageshack.us/img801/4108/61060597.jpg
http://img716.imageshack.us/img716/3815/14958913.jpg
The plug of the first image I wanted so stay in the pages of search.
The second would show that only the individual pages.
My problem of enable these plugins but do not appear anywhere in the theme.
How do they appear?
Ps: the pictures are just a to make it clear my wish.
Sorry my english and the perturbation.
sorry but this is a free theme. so i can not help about every plugin. theme uses only postviews plugin. if you have problems about that one, you can ask. for other plugins, you need to ask to the plugin authors.
how to add tags in custom field ,is ther any functions avilable, i wanna to add tags as custom field not in default box.
i do not know how you can do it, sorry. i use default box.
Sorry, i like the theme but i have a problem. The theme appear as broken in the dashboard:
Problem: Description:
metube-theme Stylesheet is missing.
Do you have some idea for that?
Thanks,
macs
please use ftp, not the automatic theme install function.
- open ftp, find the directory /wp-content/themes/
- delete the metube folder(if there is one),
- download the theme from this page,
- extract it and upload the theme folder to /wp-content/themes/
- activate the theme.
if it did not help(this may be because of wp 3.0),
- go to http://wordpress.org/download/release-archive/
- download the 2.9.2 version. find the “default theme” in /wp-content/themes/
- upload that “default” folder to /wp-content/themes/ of your installation. do not upload all of the wp files, upload only the default theme.
- then activate the metube theme(sometimes wordpress needs some codes from the default theme and wp 3.0 does not have that default theme)
also you can read this thread: http://forum.bytesforall.com/showthread.php?t=660
Thanks, appreciate your help. All done with the final link you suggest, the problem was that the zip extractor make 2 folders. All done. My best.
Hello,
I need you help. I have lots of posts with images, so i want to add them all in thumbnail field. How can i make it with maybe SQL query? It will take time for me to add them by hands.
My images in posts look like this:
so basically i want to take http://i39.tinypic.com/1zgq0ec.jpg and add it in thumbnail section in mysql database.
Best Regards,
Lexk
i do not think that you can do it by sql query.
if every post has at least one image, you can edit the theme and instead of custom field, you can use “get the first image” function for thumbnails.
info: http://www.wprecipes.com/how-to-get-the-first-image-from-the-post-and-display-it
- add the code in functions.php. at the beginning of the code, use < ?php and and at the end use ?>
- open index.php, archive.php, search.php and sidebar_single.php,
- find all < ?php $values = get_post_custom_values("thumb"); echo $values[0]; ?> codes.
- replace them with < ?php echo catch_that_image() ?>
there are not spaces between < and ?php
Thanks. Now its better. Nice script!!!
hi, may i know where I can show the policy privacy on the page? I had created the page but do not know how it can show up on the website. Please advise. Thanks.
2 ways:
- do not create a page. create post and publish it as Normal Post(see the theme information). then the post link will appear on right side of the homepage under What’s New title.
or,
- open sidebar_home.php
- find endwhile; ?>
- after this code, paste this one:
< ***div class="fromblog">
< ***div class="fromblogtitle">
< ***a href="http://url-of-the-page" title="">Privacy Policy< ***/a>
< ***/div>
< ***/div>
delete all *** sings in code and write the page url in href part. save the file.
Thank you admin for the help and it works well. Really appreciate it. Have a nice day.
thanks buddy my problem is solved….i will contact you soon for my own theme….no need to publish my early comments….thanks alot
i am happy that your problem is solved.
Hey how to install this in the sub directory on my site. My site is http://www.Salmankhanzone.com which i am using wordpress for latest updates but i want to install this theme in my sub directory just like this http://www.salmankhanzone.com/movies so can you please tell me how can i have like this???????
Sorry not in http://www.salmankhanzone.com/movies i want to install this theme in http://www.salmankhanzone.com/videos
Thanks in advance
there are 2 ways:
- open ftp and create a folder(videos) in main directory,
- upload the wordpress files to that new folder,
- go to http://www.salmankhanzone.com/videos/ and install your new wordpress.
- then by ftp, open videos/wp-content/themes and upload the metube theme files.
- go to http://www.salmankhanzone.com/videos/wp-admin and activate the theme.
second way:
- wordpress 3.0 has a new feature called wordpress 3 Multi-Site. it means, you can create ore than one blogs with one installation. you can use subdomains or sub folders(as you want to). and you can use different themes for these blogs.
- google it “wordpress 3 Multi-Site” please. you will find a lot of information about how you can do it. there is also a video here: http://www.webdesigncompany.net/wordpress-3-multisite-setup
Hello.
First I wanna say great theme.
But I have a problem/question…
I have installed wp-pageviews plugin but when I update a post (f5) it counts for every udate I make. Is it possible to make it count unique visits to a post and not page impressions?
I want to make most popular posts from this plugin but if a visitor abuse this he cant update post infinity times and make his own list of popular posts.
Or maybe you can suggest a plugin for my needs?
My site: http://www.zzip.dk
Thanks
Nick
why did you delete the links in footer? did not you read the Licence?
No I did not, but anyways I customized this template so much both frontend and admin panel so it is far from the original.
I thought Licence belongs to original theme only no?
But can you answer my other question?
“You must protect the links in footer as is. Please do not delete or edit them.”
Hi I added the license, sorry for mistake!
I have question, my feed doesn’t work?
Look http://www.zzip.dk/feed
I have tried 2 days to fix it without succes :-/
//Nick
I have custom language installed:
Danish Language Pack (da_DK) and Danish WordPress Installation.
But I have hard to believe this is the problem hmmm
@Nick, thanks for adding the links.
1- wp-postviews plugin counts every refresh as new visit. you can not change it. and i do not know any better plugin.
2- visitors can not make their own popular posts with wp-postviws plugin. you can try http://wordpress.org/extend/plugins/wp-favorite-posts/
3- your feed is not working because of a blank line in some of php files. i think the problem is in functions.php file in theme folder. you may edited it in a wrong way. read these posts: http://www.quickonlinetips.com/archives/2009/05/wordpress-feed-xml-parsing-errors/ and http://feedvalidator.org/docs/error/WPBlankLine.html
Hi again.
Thanks for your info, very useful and the favorite-posts was what i was looking for.
Do you know StatPress Reloaded? http://wordpress.org/extend/plugins/statpress-reloaded/ … Could be better for me than the wp-postviews, any experience with it?
I somehow – still dont know how – fixed the problem with rss feed on my HOME page http://www.zzip.dk/feed
For the subcats and comment feed it still generates the same error, so Im kinda lost in all this codes.
But your help so far was great, thanks.
do not use that kind of stats plugins if your website is not on a great server. if you have a shared host, do not use it. otherwise you will have cpu problems.
if you do not have feed members, do not worry about that error. google and other bots can read the feed without errors.
Ups cant write codes, here it is again:
Ok, I will proberly fix it somehow thanks.
I have question for the flash embed, I see you make use of object tag… A lot blogs states that embed tag is also necessary since object tag is for IE and embed tag for netscape versions…
I had no troubles displaying flash in any browser I am more curious since almost all says that both object and embed tag is necessary unless you use the swfobject javascript method.
Thanks for the information. I do not use netscape so i could not try the code but this one works on ie, opera and firefox without errors.
But you are right. I will use both of them in my new themes.
Hi, Thanks for great theme.
I was wondering, how can we change “Random Videos” to work as a “Related Videos”. Thanks in advance.
download this file: http://www.wordpressthemesbook.com/wp-content/uploads/2010/08/sidebar_single2.zip
replace the old single-sidebar.php with this new one.
it works like this:
- if it is a video, you will see 5 videos that are in same category
- if it is a game, you will see random videos
Thanks for replay. Unfortunately dose not work. It dose not show any thing in my sidebar. not even random post. I get this :
Fatal error: Call to undefined function limit_words() in /*****/sidebar_single.php on line 36
I do appreciate your kind reply.
sorry, it is ” on line 23 “
sorry. download this one: http://www.wordpressthemesbook.com/wp-content/uploads/2010/08/sidebar_single2.zip
again, replace the old single_sidebar.php with this one.
Thanks for respond. It is working very good.
One more correction request.
Kindly correct “Sign In” and “Create Account”. when users are sign in, link still shows “sign in” instead of showing “sign out”.
Appreciate your kind and useful response.
download this zip: http://www.wordpressthemesbook.com/wp-content/uploads/2010/08/metube-header.zip
replace the old header.php with this new one.
Thanks a lot, it is functioning very well. have pleasant time.
Hello,
Great theme! Everything works like a charm except tag pages. Once I click on tag, which has lots of posts, it does not show me pagenavi (like this 1 2 3). On the category page everything looks great. Why is this happening and how can I fix it?
it’s interesting because tags and categories use the same file(archive.php). so there should not be a problem like that. tell me your website url please.
I got the same problem…
I think that the problem is in functions.php and not in archive .php
When I view this part;
<?php function wp_pagenavi($before = '', $after = '', $prelabel = '', $nxtlabel = '', $pages_to_show = 5, $always_show = false) {
global $request, $posts_per_page, $wpdb, $paged;
if(empty($prelabel)) { $prelabel = '«‘;
} if(empty($nxtlabel)) {
$nxtlabel = ‘»‘;
} $half_pages_to_show = round($pages_to_show/2);
if (!is_single()) {
if(!is_category()) {
preg_match(‘#FROM\s(.*)\sORDER BY#siU’, $request, $matches); } else {
preg_match(‘#FROM\s(.*)\sGROUP BY#siU’, $request, $matches); }
$fromwhere = $matches[1];
$numposts = $wpdb->get_var(“SELECT COUNT(DISTINCT ID) FROM $fromwhere”);
$max_page = ceil($numposts /$posts_per_page);
if(empty($paged)) {
$paged = 1;
}
I think someting is missing in the part weher it says
if (!is_single()) {
if(!is_category()) {
Already solved this? Looking forward for an answer!
Ok , after some research on google I found the answer myself…
Look in functions.php for the part where it says
$numposts = $wpdb->get_var(“SELECT COUNT(DISTINCT ID) FROM $fromwhere”);
and change that line into:
$numposts = $wp_query->found_posts;
after that add $wp_query to the global list at the beginning of the wp-pagenavi function so it looks like this:
global $wp_query, $request, $posts_per_page, $wpdb, $paged;
Ciao!
I have removed the latest videos part from index file as you said. The latest videos have been removed from the home page. But when I watch a video, I am still getting random videos in the sidebar. How do I remove that. I tried finding it in the index file but couldnt get it
open sidebar_single.php and find the first
< div class="whatsnew"> (line 21)
delete the line and everything below this line. do not the delete last < /div> in line 67.
I got my previous adsense id banned, and i got the new one, i want to change the side bar ad 300×250. how can i change them. i tried to find my previous code but unable to fined them.
Go to MeTube theme options under Appearance menu in wordpress admin panel. Replace your adsense code.
can i use metube theme.can i download metube theme on my site.
of course you can use the metube theme. download link is for everyone. download and use it.
thanks for your reply
How much cost you tube mass embed code for this theme?. Branding removal is free because i sell this site in flippa?Sorry english
i could not understand your questions. please ask again.
hello. i’m rushan and recently i have seen ur metube and now i’m ready to implement a site using ur theme. i have a question. i like to use the jw player with this template. so can i use it and if can how to use that?
thanks
- open single.php,
- find the line that includes get_post_custom_values(“video”)
- cut that line and paste the player codes,
- use that line as file url.
- while you are adding a post, write the file url instead of embed code in embed field.
if you want me to do it for you, price is $15. this is a paid modification because this is an extra feature. you ca find my email id in Contact page.
i have install the the jw player plugin and activated. that plugin show to use the jw player embeded code as this:
[wp-jw-player src="http://www.youtube.com/watch?v=EZ6YbUrnxVM" width="400" height="350" autoplay="false" embed="true" rsstag="JW Player"]
here you can see i have added a youtube link. if i add this code in a post its showing the custom player and working well. wen i add this to the custom video embeded field in metube, its not showing. so instead of editing the php files, are there any ways, i mean do i wanna make any changes in my jw player embeded code?
- open single.php,
- find this code: http://codepaste.net/34qjzg
- replace it with this one: http://codepaste.net/i5xmij
- then find this code: http://codepaste.net/i5xmij
- replace it with: http://codepaste.net/34qjzg
i mean, change the places of these 2 codes.
- paste the plugin code in content field,
- write the video description in Embed field.
note: you have to write a description in embed field. otherwise, you can not see the video on post.
thanks alot
hi. i wanna make small style change with my metube template which i downloaded here. i wanna take off the radius that u used in the right sidebar gadgets in the videos achieve page. how can i do that? i tried to find that in the css file but i couldnt. also are there any options to add more gadgets in that page in right side?
if can pls help me.
i could not understand which page do you mean. in category archives, there is not a right sidebar.
if you want to edit the archives, use archive.php. if you want to edit the sidebars, use the sidebar php files.
i’m talking about this page.
http://www.wordpressthemesbook.com/demo/metube/category/videos
here i wanna take out the radius used in the corners of the sidebar.
in images folder, edit cath2.gif and catbottom.gif. you can do it by paint, photoshop, etc.
thanks
thank you for the theme. i have setup it but i have small problem. in archive page there are only 10 videos are showing, i wanna make it to visible 15 videos. so how can i do this.
in admin panel, enter Settings/Reading. change “Blog pages show at most”.
thanks a lot. its working
i have a problem in file “functions.php” ,
wp-content/themes/metube/functions.php on line 74 ,, Please help me
if you did not download the theme from this page, download it and re upload the theme.
Hi. I have edit the theme a lil bit. using my header with it. Its legal right? i dont delete the permalinks.
Ok my question is when i post a video, the video alignment its not centered. It goes to the left. How can i make it a bit centered? thanks
yes, you can edit the theme. there is only one rule: do not delete the links in footer.
and about your question. open style.css and find .videopart. change it like this:
.videopart {
margin:0 0 15px 0;
text-align:center;
}
hi
admin , i love your theme and hard work.
pl check my site: http://www.rkbuzz.com (for test site)
same video all field comings .
Random Videos & Games , Featured, latest videos, Latest Games, random videos, random games.
please, i am waiting your reply
thanks
rk
if you want to use MeTube theme, go to theme option panel and write the featured category IDs. read “MeTube Options” information on this page.
if you want to use Wordtube theme, read the installation information on theme page.
hi admin
i changed to your advice.
but not changed theme option, Random Videos & Games , Featured, latest videos, Latest Games, random videos, random games
pl help me
enter Appearance-MeTube Options and fill in the category fields:
- Videos Category: Write the general videos category ID.
- Games Category: Write the general games category ID.
do you know what is a category id? if not, please search for it.
thanks admin
and one more…
how to add or create site map?
then
i checked your site url : http://www.wordpressthemesbook.com/demo/metube/frozen-madonna.html : Still not indexed in google.
Published: 44 days ago
what reason? because every page index in search engine. then we get search engine’s traffic.
pl check
also i done your advice but this one i am wating
Hi i have been using a plugin which automatically takes my youtube videos and posts them to my wordpress site, unfortunately i cannot get the thumbnails to show up, is there any coding in functions i could change ? i think it puts the thumbnail in the ‘featured image’ section but i am unsure.
Thanks
plugin should add the thumb as a Custom Field named “thumb”.
i think your plugin adds the thumb in post, too. that’s not very nice.
if you want a youtube plugin that is MeTube theme ready, visit this page: Vidbot
I bought the plugin but I have exactly the problem you were talking about… so cannot see thumbs on my homepage but just above the video you’re watching… please help…
sorry, i only help about the wp vidbot plugin that you can buy at http://www.wordpressthemesbook.com/wp-widbot-youtube-plugin/
your plugin is different i think. please ask to plugin author.
Maybe I was no clear… I bought widbot plugin from Ibrahim but I can’t get it work… as you can see on my homepage thumbs not appears but I have them just above the video I want to watch…
Sorry Admin… i solved, thank you very much 4 your theme and the fantastic plugin…
Goes on like that!!
@rk,
you can create a sitemap by plugins. for example: http://wordpress.org/extend/plugins/google-sitemap-generator/
i use “noindex” meta tag in my demo blogs. so search engines do not index them.
thanks admin
working perfectly
if any doubt in future i will comback
thanks
Hi, Thanks again for your Lovely theme.
I do use custom player, call “Stream Video Player” and it is working very good in your theme but I can’t get my videos to show on facebook while sharing. Honestly I have no idea how should I edit header.php to work with facebook.
I will appreciate your kind help.
Thanks,
Chris
sorry, i do not know.
Respected sir,
Question:
1.When we embed the code then where i will get the thumb nail image url of the video and how i can use it.
2.I have to manually enter the image url
3.Can we make like user creation,registration and allowed to upload etc.
hi,
1. You can get the thumbnail url from youtube or wherever you got the embed code. Right click to the thumbnail of the video and copy the url of the image. Then paste it into “Thumbnail Url” field while you are adding the post.
2. If your source website does not have thumbnails, upload the thumbnails to your host. While adding a post, click the Add Media button and upload the image. Then copy the image url and use it as thumbnail url.
3. In Settings/general, click “Anyone can register” and select Contributor for “Membership” and save settings. Now users can register and create posts.
Can we do this inside like:
|videos|games|music
latest videos
latest featured video
latest music
latest featured music
latest games
latest featured games
1.remove the add and wants the video
after that adds.
can i make this changes
if you want to edit the theme, do it. you need to know some php and css.
i can not do them for you, sorry.
Hi,I want to ask that above written task can i do it easily or not.
if i assigned you then what the cost you are going to take.
and be frank the project is not confirmed but you give the your cost and i will tell u.
Thank You
i sent you an e-mail.
hello,
want to ask, why my feed cannot be validate? it become error..
i did not see an error on your feed.
Hi! I downloaded the theme and installed it on a local server. I can’t save any settings in MeTube admin options and I only see “Random Videos & Games” displayed on index page. Featured and Lastest, are not displayed. Also the comments does not appear on posts… I run on the latest version of WAMP under Win 7 x64. What could be the problem?
it’s about the local server. i do not know why or how you can fix it but some local servers have this kind of problems. i use xampp lite http://www.apachefriends.org/en/xampp-windows.html#646
hi admin,
My Question:
1.How do i show the View Count,as i installed the post-view plugin,insted it was not showing the count.
2.How do i show the latest videos,latest games,feature videos,etc.
3.see the link:http://www.playxone.com
I have read your document but not able to solve this.
please help me in this.
Thank You
delete everything about the theme from your server. download the file from this page and install it.
you are using something that does not have header or footer.
Hi,
Thanks for this great themes.
I just want to ask, can I add more social icon on the below of the post? The original only have Facebook, Twitter & SU. Can I add more? If can, do you have the codes?
BTW thanks for this great template.
open single.php and search for twitter. you will see 3 lines for twitter, facebook and stumbleupon. create a new line and add your ew social service url, codes, etc(every social site has different codes).
if you can not do it yourself, delete that 3 lines. install a social bookmarking plugin(Social Bookmarking Reloaded, etc). and add it’s code where you deleted the 3 lines.
hi Admin,
how do the pages works?
For istance, if i want a contact page, i have to create it and after link it from searchmenu?
thanx in advance…
yes sorry. i did not add a menu for pages.
i think the best place is on right of Contattaci(Games).
- open header.php, find:
< li>< a href="/contattaci" title="Browse Latest Games">Contattaci< /a>< /li>
- after that line, paste this:
< ***li>< ***a href="http://www.pescaratube.com/contact" title="contact">Contact< ***/a>< ***/li> (delete all ***)
- open style.css and find:
width:522px;
- make it width:572px;
- find:
width:150px;
- make it width:200px;
save files.
Thank u so much!
First: I would say thanks to wordpreethemesbook for great and best theme…
Second: I would introduce my new video blog (http://www.tvmild.com) 100% work with this theme…
THANK YOU SO MUCH
Hi.
I have a problem.
All my videos is in the Games to.
How is thar possible ?
I have not put them there.
did you write the category ids in theme options page?
Great theme! Thank you so much!
I was wondering if I can add more links in the footer next to the RSS feed and Top?
Thanks in advance
sorry, no. you can use the left top of the header in header.php.
hi Admin,
Thank you for the beauty full theme.
I have uploaded on this url:http://playxone.com/
see the view source code:i dont no wat the matters:
i tried lots but unfortunately i am not able to use ur themes.
Can u please tell me what the exactly problem.look into this.
and give me the advise.
Thank You
interesting. please download the theme from this page again and reupload it.
if it is ok for you, email me your ftp information, too. my email id is in Contact page.
Thanks for this great theme Mate
I’m looking for this theme for a long time and today my search comes to an end. Thank you
Hi thanks for this template. i was trying to add widgets on the sidebar (rightside) but nothing come up!
Homepage is not widget ready. Your widgets will appear in category, archive and search pages.
hi, formidable template.
I do not work the “PageNavi. and I do not put the number of posts in the category menu (?)
Thank you for your attention.
see: http://www.iutubbe.com
your pagenavi is working. do you have a problem about it?
do you want to show the number of posts in category menu?
yes now is ok, sorry admin, but the number of post in the category: for example :
Action (2)
Adventure (4)
Arcade (2)
not view in my category i have only:
Action
Adventure
Arcade
etc..
you added the category menu by category widget i think.
while adding a category widget, you will see 3 options. select “Show post counts” and click save button.
Hi Admin,
Thanks for this great themplate!…I have one question..if i signin than i come in the dashboard page…is it posseble to come not in the dashboard page but direct in the main MeTube frontpage?
Thanks!
Vink
A beginner from Holland
hi Vink,
you can not do it by theme functions. you need to use a login redirect plugin like http://wordpress.org/extend/plugins/peters-login-redirect/.
Thanks very much Admin…your the man! it works great!
greetings form Amsterdam!
Hi Admin.
Is it possible to use Tubepressnet plugins for Import Youtube Videos directly into your wordpress blog post or pages.?
It could be great.
http://wordpress.org/extend/plugins/tubepressnet/
Thanks
you may do it, i am not sure. this kind of plugins adds the video in content area but they have problems with thumbnails.
you can buy the vidbot plugin that you can find the link on right sidebar. this plugin is compatible with the theme.
hello
not working category widget or anny widget at this theme?
tx!
widgets work in category, archive pages. not homepage.
Hello, thanks for this great theme.
I am tweeking this theme the best i can, but i cannot figure out how to get the right side bar to stay in place.
You can see in my website that i manage to change a litle the layout: http://tvlazer.com but the right sidebar does not go to the right.
I have already tested changing the with of the all theme, i am not a newbe but i am not an expert either.
If you could lay a and and help me out here please…
you can buy help for this kind of custom works: http://www.wordpressthemesbook.com/custom-wordpress-theme/
OK as you can see it was not so dificoult, within a few hours i manage to get it done.
Not all the tweeks are finished but already looking good.
Web: http://tvlazer.com
Youtube page: http://youtube.com/tvlazercom
The diferences are only a few…
i am happy, too.
in archive for the “videos” category appears only 2 movies..how can i make appear much videos..thx!
Srry for my bad english!
enter Settings/Reading and change the number for “Blog pages show at most”.
same problem:((
How can i add more videos in Archive for the ‘Videos’ Category??
she display only 2 videos..
same answer: http://www.wordpressthemesbook.com/metube-youtube-clone/#comment-4915
i only post videos not games, how can i replace games with Vidoes or remove all links to games ?
Br
Zeeshan
open the php files in theme folder and delete the game links.
Greetings. Thank u for creating such a great theme..I am having quite a bit of trouble tho..I have followed your directions in detail yet I still cant seem to get thumbnails on my site for the videos I upload…I have tried manually uploading the image into media as well as the youtube url link and neither work for me…for some reason it is not connectin even to the image I saved and designated as the url on the posts…can u help me with this?
my next issue is can I prevent the post titles from being seen as double (displayed twice)??? any help is greatly appreciated.
do not write the video url as thumb. just write an image url like this: http://i1.ytimg.com/vi/8xr9j9JQhPs/default.jpg
click the image on youtube with your right mouse, copy image url. you should use this url.
other question:
i did not understand the aim but open index.php and find the_title. double that line.
Thank u so much..I worked out the minor thumbnail detail (easy)..I am still having quite a bit of trouble placing the vids in proper places…
1.) I placed the category Id’s but where do I find the proper “category urls” like for when the options page asks for the “whats new category url”? or how should the url look?
2)How can I change the name of the sections like “latest videos” and “whats new” to my own headings?
3)The “video” link next to the search bar takes me back to edit category section in the dashboard & the games link takes me nowhere but back to homepage it seems? how can I fix this?
Is there a way to put a link to the home page on the post page? once U go to post page I want to be able to go back to the front home page after viewing a post…
I realize the sidebar widget/plugins only work in the categories and archive pages but how can I get to these pages from the front page…or is this the same issue of the the video redirect link next to search bar?
I appreciate your time and patience…pardon my lengthy questions. thx again
ok sorry for the confusion again…after my own trial and error I think its a little bit clearer to me now…if u look at my site u can see I am a bit clearer but still havn issues..I have linked the “read more in our blog section” to my other blog but I am still havn issues w/ what the “general video category url” should be and what the general game url should be?
I still am clueless how to manipulate what is being displayed in the “random video and games sections” & “latest games” section? and how to change these headings? (if possible)
and also how to redirect to the home page and categories page once I am done viewing a post? thanx again
enter here: http://www.wordpressthemesbook.com/demo/metube/category/videos
you see that there are Games and Videos categories that contains the sub categories.
create a category called Videos. this will be the top category of videos section. then create subcategories in this category. for example, Animation.
then copy the url of your Videos category and paste it into field. for example, your General videos category url is now: http://heroicthinkers.org/?cat=26
you need to read the post again. you do not have Games and Videos category. you need to create them. if you just want to change the headings on homepage, open index.php in theme folder and change them.
click the blog title on top-left. then you will go to homepage.
Thank u so much again…I will make those changes tonight. You have cleared up much confusion!
It’s not working for new version 3.1.3.
Will you update the script to work with the latest version?
What version of wordpress should we be using with this theme?
Thank you.
Never. I followed instructions and it worked now with 3.1.3 version. Huge thanks.
It would be awesome to have a rating 5 stars option.
I use wp-postratings ( http://wordpress.org/extend/plugins/wp-postratings/ ) and follow its instructions. It works very well. Thanks.
yes it is one of the best rating plugins.