What is vldPersonals?

vldPersonals is a very easy to use dating/social software. It allows you to create a fully functioning & modern dating website in a matter of minutes. If You think it's too complicated - check vldPersonals!
Know more about how You can become a dating website owner

What is vldCrowd?

vldCrowd.com is the biggest unofficial community of vldPersonals owners. It is a place to share ideas and thoughts about Your dating website. It is a place to answer questions and receive answers.
Do You own a vldPersonals license? Don't hesitate and join!

Connect Today

Community members help each other to take their dating websites to the next level. Can You make your vldPersonals website better? Join and find out...

Connect With More Than 700 Dating Website Owners! Sign Up Today
22905 3 21
These instructions are for hands on type of guys who like to have a grasp of whats going on.The youtube instructions below was installed on vldPersonals version 2.5.3
 
SUBMIT QUERY (query statement comes with youtube package mod)
 
You need to do a sql query to update your vldPersonals database. Recommend backing up your database before doing the update. See youtube_query.txt file that comes with the youtube mod package for query statement. If you do not know how to do a query, please contact your host or the developer of this mod.
 
Below are images of me doing the sql query in phpymyadmin for my site.
 

 

 

 
UPLOAD FILES (files comes with youtube package mod)
 
There are a number of files that need to be uploaded to your server (all files are in the youtube mod package). These files are either replacing original vldPersonal files or are additional files for the youtube mod. Best practice is to backup or rename your original files before replacing with youtube files. Below are the files that need to be added. Please add files in the appropriate folder.
 
INCLUDES/CP FOLDER
 
cp.membersvideos.php
cp.videos.php
 
INCLUDES/EXT FOLDER
 
ext.videos.php
ext.youtube.php
 
INCLUDES/LIB FOLDER
 
lib.account_videos.php
lib.member_videos.php
lib.videos.php
 
INCLUDES/TEMPLATE FOLDER
 
membersvideos.tpl
membersvideos_edit.tpl
videos.tpl
 
YOURTEMPLATE FOLDER
 
account_videos.tpl
account_videos_edit.tpl
ext.videos.tpl
member_videos.tpl
member_videos_view.tpl
videos.tpl
 
NOTE: The following is optional but may be best practice. In the above files, you may want to use a compare program if you made other changes to your vldPersonal site. More than likely, you did not have anything done to the php files, but there may be a chance you made some changes to your tpl files, especially the files in YOURTEMPLATE FOLDER. For me, I probably had some words added to my tpl files and maybe adsense, but nothing I can't easily add to the new youtube files. There should be no worry if you make a backup of your original files before replacing with youtube files -- you can always look at backup to see what changes you made.
 
ADDITIONAL INSTRUCTIONS (these instructions also come with the youtube package mod)
 
fns.misc.php
 
In includes/fns/ open fns.misc.php. At the bottom of fns.misc.php you will see the closing php ?>. Right above ?> add the following code:
 
//------------------------------------------
// Get youtube id from url
//------------------------------------------
function get_youtube_id_from_url($url)
{
$parsed_url = parse_url($url);
parse_str($parsed_url['query'], $parsed_query);
 
if (isset ($parsed_query['v']))
{
return $parsed_query['v'];
}
else
{
return;
}
}
// End function
 
Below are images of me updating my fns.misc.php file for youtube mod.
 
-----------------------------------------
-----------------------------------------
 

 

 
-----------------------------------------
-----------------------------------------
 
account_videos_edit.tpl
 
In your template folder you may or may not have to make adjustments to textarea. For my template (pink2), I used the default coding. If you need to change the width of your text area here is how.
 
Open yourtemplate/account_videos_edit.tpl
 
Find: <dd><textarea id="field_description" class="textarea textarea"
 
Change: class="textarea textarea"
 
To: class="textarea textarea_full" OR class="textarea textarea_small"
 
HOW TO USE YOUTUBE MOD
 
Using the youtube mod is easy. See images below.
 

 

 

 
USING EXTENSION CALL
 
The actual extension call looks like this:
 
{videos:limit=11,cache_time=0,cache_name="yout"}
 
You can change the limit=11 to how many videos you want to display. You can use any cache name just so it is NOT the same cache name used in other extensions calls.
 
I made the following changes to my homepage.tpl (pink2 template). I changed new members extension call to 11 so there would be one row of new member images. I added the video extension call below the new members call.
 
<h3 class="members">New Videos @ Filipina Lady and Asian Dating</h3>
<div class="block members">
{videos:limit=11,cache_time=0,cache_name="yout"}
</div>
 
MY HOMEPAGE.TPL WITH DIFFERENT EXT CALLS
 

 
That's it. You don't need this tutor to install the mod. All files and instructions come in the youtube package mod and Radioact will even install it for FREE. I did this tutor to give more detailed info and some visual aid for those who like to know a little about what is going on behind the scene.
 
If you are interested in this mod, please contact the webmaster of this website (radioact).
 
UPDATE
 
The following coding is an update to the Youtube Mod.
 
Open your /includes/fns/fns.misc.php
 
Find
 
//------------------------------------------------
// Delete videos
//------------------------------------------------
 
And select ALL code till
 
//------------------------------------------------
// Delete music
//------------------------------------------------
 
And Replace your selection with:
 
//------------------------------------------------
// Delete videos
//------------------------------------------------
$result = $DB->query("SELECT video_id FROM " . DB_PREFIX . "videos_comments WHERE poster_id='$member_id'");
while($obj = $DB->fetch_object($result))
{
$DB->query("UPDATE " . DB_PREFIX . "videos SET totalcomments=totalcomments-1 WHERE video_id=".$obj->video_id." LIMIT 1");
}
$DB->query("DELETE FROM " . DB_PREFIX . "videos WHERE member_id='$member_id'");
$DB->query("DELETE FROM " . DB_PREFIX . "videos_comments WHERE member_id='$member_id' OR poster_id='$member_id'");

Comments

mantisinc

  • Posted on 09/03/2010 03:22 PM
hey, how much is this mod?

developer

  • Posted on 08/17/2010 08:32 AM
Send vldCrowd owner (radioact) a message. It is a paid mod.

bozi32

  • Posted on 08/17/2010 07:14 AM
hello friends,
where can i get the youtube mod package?

Garry

  • Posted on 07/27/2010 01:04 AM
Does this mod allow you to have normal upload and youtube?

zeze

  • Posted on 05/27/2010 11:10 AM
how much is this mod?

radioact

  • Posted on 11/08/2009 01:02 AM
Yes, just use youtube mod file from my Files section.

Paul

  • Posted on 11/07/2009 11:42 PM
hi ramil, does youtube mode works fine with new version 5.5

developer

  • Posted on 08/11/2009 04:24 PM
IF you are interested in this mod, you have to contact Radioact for the files.

Log in to leave a comment