Category under video on videos page
|
30-03-2011, 06:21 AM
(This post was last modified: 30-03-2011 12:15 PM by Punktured.)
Post: #1
|
|||
|
|||
Category under video on videos page
To do this, we one have to exchange one line of code.
This code is in the functions file, which is located at /include/functions.php The two lines we change in functions.php are the same, so once you find the first one, the second one is just a bit further down in the code. Find this line, in the function "tablo()": Code: $data=$data.'<td valign="top"><a href="'.$root_url.$linki.'"><div align="center"><img multiple_thumbnail_url="g" class="video-thumb" border="0" src="'.$root_url.'img/thumb/'.$row['v_id'].'_0.jpg" num="'.$row['num'].'" id="thumb'.($i+1).'" alt="'.urldecode($row['title']).'" width="160" height="120" /></div>'.urldecode($row['title']).'</a></td>'; change that, to: Code: $cat_id = $row['category']; NOTE: Be sure to clear your cache files for the changes to take effect. Custom HTML/CSS/PHP http://theorderofindividualacceptance.co...p.php?id=1 |
|||
31-12-2011, 06:55 AM
(This post was last modified: 31-12-2011 07:00 AM by tattooz.)
Post: #2
|
|||
|
|||
RE: Category under video on videos page
Would this still work for version 3?
Yes it does.... Below Average Dicks |
|||
31-12-2011, 07:06 AM
Post: #3
|
|||
|
|||
RE: Category under video on videos page
sure does :-)
i think i will make a poll, asking is users want this and views placed under the videos permanently. Custom HTML/CSS/PHP http://theorderofindividualacceptance.co...p.php?id=1 |
|||
31-12-2011, 07:09 AM
Post: #4
|
|||
|
|||
RE: Category under video on videos page
I know I do
Below Average Dicks |
|||
« Next Oldest | Next Newest »
|