Related Topics


[Video CMS v4]Remove the 100 Playlist Limit Restriction on the side panel drop down  (Read 1249 times) Print

1 B


DeadFish  October 18, 2015, 09:54:08 AM

Been having an issue with this for some time. Been trying to change/remove the Limit for the playlist on the main left side panel menu. It was when I tried to add additional Playlists. That we noticed that no more appeared after the 100th one. We could still create playlists. Yet they were not viewable on the public page after reaching 100. We wanted to go about resolving this. Also, wondered if it had a scroll feature if it reach the bottom portion of the page. Sort of like what Youtube does. In order to see all the Subscribers you have. Yet in our case Playlists.

Logged


@Mario  February 27, 2016, 03:21:56 PM

Hi, please do not use the Tutorials forum unless you are posting an actual tutorial for others.

You are looking for tpl/main/sidebar.php

line

Code
$plays = $db->get_results("SELECT * FROM ".DB_PREFIX."playlists where owner= '".user_id()."' and picture not in ('[likes]','[history]','[later]') order by title asc limit 0,100");


Change 100 at the end with the value you desire.

Logged
Hello!
If you wish to learn how to start coding on the PHPVibe Video CMS head to the blog.

Please use the search before opening a new topic!


DeadFish  April 22, 2016, 06:22:00 AM

Hi, please do not use the Tutorials forum unless you are posting an actual tutorial for others.

You are looking for tpl/main/sidebar.php

line

Code
$plays = $db->get_results("SELECT * FROM ".DB_PREFIX."playlists where owner= '".user_id()."' and picture not in ('[likes]','[history]','[later]') order by title asc limit 0,100");


Change 100 at the end with the value you desire.

This code no longer works for v5, so how do I perform this on the current side bar. Site: http://www.bakedfish.es/

Logged



@Mario  April 22, 2016, 04:02:38 PM

Code
limit 0,100


Only this affects the number of results http://www.w3schools.com/php/php_mysql_select_limit.asp

Logged
Hello!
If you wish to learn how to start coding on the PHPVibe Video CMS head to the blog.

Please use the search before opening a new topic!


giovanni  April 23, 2016, 10:03:11 AM

Hi mario can you tell me where in functions.php to make text clickable on 5.0 thanks have not upgraded fixing files before I do lol thanks

Logged


@Mario  April 23, 2016, 02:18:40 PM

In the end of lib/functions.html.php there was introduced the function linkify and used a bit up on MakeLN function.

Logged
Hello!
If you wish to learn how to start coding on the PHPVibe Video CMS head to the blog.

Please use the search before opening a new topic!


DeadFish  April 24, 2016, 03:55:29 PM

Code
limit 0,100


Only this affects the number of results http://www.w3schools.com/php/php_mysql_select_limit.asp

I know. Yet saying it still didn't display even after doing so. While the scroll bar for the left side bar no longer scrolls down.

Logged


@Mario  April 24, 2016, 04:08:00 PM

What's in your browser console? Maybe something you've edited broke it.

Logged
Hello!
If you wish to learn how to start coding on the PHPVibe Video CMS head to the blog.

Please use the search before opening a new topic!


giovanni  April 25, 2016, 03:49:31 AM

Mario   In the end of lib/functions.html.php there was introduced the function linkify and used a bit up on MakeLN function.
What code do I put and where to make it text clickable thanks on functions.php

Logged


DeadFish  April 25, 2016, 10:39:05 AM

What's in your browser console? Maybe something you've edited broke it.

Never applied any new edits besides the ones presented from the patches.

Logged


@Mario  April 25, 2016, 04:06:06 PM

Mario   In the end of lib/functions.html.php there was introduced the function linkify and used a bit up on MakeLN function.
What code do I put and where to make it text clickable thanks on functions.php

Are you serious?

Logged
Hello!
If you wish to learn how to start coding on the PHPVibe Video CMS head to the blog.

Please use the search before opening a new topic!


@Mario  April 25, 2016, 04:06:28 PM

Never applied any new edits besides the ones presented from the patches.

And you don't want to show and check the browser console...because?

Logged
Hello!
If you wish to learn how to start coding on the PHPVibe Video CMS head to the blog.

Please use the search before opening a new topic!


DeadFish  April 25, 2016, 06:46:42 PM

And you don't want to show and check the browser console...because?

Retracting my previous statement. Could not see it due to its nearly visible transparency. How do I strengthen that? Being it's very unnoticeable. Also, how do I switch it to the right side instead if the left of the left sidebar? Kind of like how youtube does it. 

Logged


@Mario  April 25, 2016, 08:10:24 PM

I think there is a tip for Ultima that covers that.
Else, is just a css positioning, but you need to re-think all the js touching the sidebar.

Logged
Hello!
If you wish to learn how to start coding on the PHPVibe Video CMS head to the blog.

Please use the search before opening a new topic!


giovanni  April 25, 2016, 08:24:12 PM

Mario I got this when I uploaded sqlupdater.php first did I do it right ?

Users table updated...
Images table created...
Images moved to new table...
Conversations table created...
Messages table created...
Playlist table updated...
Pages table updated...
Homepage table updated...
Activity table updated...
Hearts table updated...

    ezSQL (v2.17) Debug..


    Query [16] -- [CREATE TABLE IF NOT EXISTS `vibe_hearts` (
      `id` int(11) NOT NULL AUTO_INCREMENT,
      `uid` int(11) NOT NULL,
      `vid` varchar(200) CHARACTER SET utf8 COLLATE utf8_swedish_ci NOT NULL,
      `type` varchar(200) CHARACTER SET utf8 COLLATE utf8_swedish_ci DEFAULT NULL,
      PRIMARY KEY (`id`),
      UNIQUE KEY `uid_uni` (`uid`,`vid`)
    ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=0]

    Query Result..

        No Results

Logged


@Mario  April 25, 2016, 08:30:17 PM

Yes, it looks fine.

Logged
Hello!
If you wish to learn how to start coding on the PHPVibe Video CMS head to the blog.

Please use the search before opening a new topic!


giovanni  April 25, 2016, 08:39:43 PM

Yea I am serious lol dont know what to add to at the end of functions to make it clickable lol not smart like you mn, All I have is this script where do I put it in functions to make it clickable


code removed, no connection.

Logged


@Mario  April 25, 2016, 08:40:26 PM

Just replace lib/functions.html.php with the new version and leave function.php alone...

Logged
Hello!
If you wish to learn how to start coding on the PHPVibe Video CMS head to the blog.

Please use the search before opening a new topic!