![]() |
|
|||||||
| General Discussion Discuss about ClipShare hosting, promotion, SEO, niches or anything else that does not fit in the other forums |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
|Forum Senior|
![]() ![]() ![]() ![]() Join Date: Aug 2008
Posts: 363
![]() |
Well, I know I had and still have many questions yet its so hard to find them on the forums because there's just so much junk through out the forum that its so hard to find questions. But the real reason for this thread is newbies like to ask questions that have been posted repeatedly so I hope with this thread they will be able to take one look and solve most of their questions. So I have gathered all the most repeated questions that I can think of and posted mine/other people's answer's along with them - if you have one please post it!
These are based on 4.xx Vista Templates "How can I get the Videos being Watch Right Now..." You have to upload recent.php & recentplayer.swf in to the public_dir I have attached both files but if you really want to do it manually both recent.php & recentplayer.swf can be found in CS 2.6 distribution but I bet this is much easier. In templates/index.tpl find this code: PHP Code:
PHP Code:
"How can I get rid of "ClipShare Pro" when I roll over the logo" Its simple Just go to /templates/header_view_video.tpl and find:Code:
<h1><a href="{$baseurl}/" title="ClipShare Pro" class="logo">ClipShare Pro</a></h1>
![]() "Where can I edit the carousel in CS 4.xx to add more thumbnails" Open css/jquery.jcarousel.skin.css Find these following lines: Code:
.jcarousel-skin-tango .jcarousel-container-horizontal {
width: 390px;
padding: 10px 40px 0px 40px;
}
.jcarousel-skin-tango .jcarousel-clip-horizontal {
text-align: center;
width: 385px;
height: 135px;
}
"How do I edit/remove Clip-share from the footer" Open /templates/footer.tpl and find Code:
<p>Powered By <a href="http://www.clip-share.com">ClipShare</a></p> "How can I increase the logo Logo?" Open /css/tpl_style.css and find: Code:
#head h1 a.logo {
display: block;
width: 323px;
height: 100px;
border: none;
}
"I want the logo to touch the top?" Open /css/tpl_style.css and find: Code:
#head h1 {
margin: 30px 30px 0px 0px;
Code:
#head h1 {
margin: 0px 30px 0px 0px;
![]() "How can I get rid of the Space on Both Sides?" Open /css/tpl_style.css and find: Code:
/* GENERAL CONTAINER */
#container {
margin: 0px auto;
padding: 0px;
width: 740px;
text-align: center;
}
#leftside {
margin: 0px;
padding: 0px;
width: 500px;
text-align: left;
float: left;
}
#fullside {
margin: 0px;
padding: 0px;
width: 728px;
text-align: left;
}
Code:
/* GENERAL CONTAINER */
#container {
margin: 0px auto;
padding: 0px;
width: 927px;
text-align: center;
}
#leftside {
margin: 0px;
padding: 0px;
width: 580px;
text-align: left;
float: left;
}
#fullside {
margin: 0px auto;
padding: 0px;
width: 728px;
text-align: left;
}
Simple, just open up your /css/tpl_style.css and find (THIS WAS DONE WITH THE 4.03 DARK ORANGE TEMPLATE SO CHANGE THE COLORS): Code:
html, body {
margin: 0px;
padding: 0px;
font: normal 11px "Lucida Sans Unicode", Arial, Helvetica, sans-serif;
line-height: 18px;
color:#474038;
}
This will now align your site to the left so you need to also change the margin: 0px; to margin: 0px auto So now your code looks like this: Code:
html, body {
width: (change this to w/e size)px;
margin: 0px auto;
padding: 0px;
font: normal 11px "Lucida Sans Unicode", Arial, Helvetica, sans-serif;
line-height: 18px;
color:#474038;
}
Well this is all the most simple basic problems I have repeatedly seen posted that I remember at the moment because its 12:59 AM! If anyone has questions post them I will try to answer them and like I said I hope someone can post there answers! ![]()
__________________
For some odd reason almost all pages I attempt to visit it tells me "Page Not Found" I possibly may have been banned for rebelling against Danny too much? Sorry I haven't answered all the PM's I've received its been some time since I've last visited here. And unless I can start using the forum again I can't help anyone ![]() Clip-Share for Dummies! -The Man who Understands-
Last edited by Joe100 : 02-11-2009 at 02:45 AM. |
|
|
|
|
|
#2 | ||
|
Member
|Forum Newbie|
![]() Join Date: Sep 2008
Posts: 28
![]() |
Wow good job Joe100, i think that will help a lot of users.
Also for Quote:
Quote:
Last edited by lepikouze : 11-10-2008 at 11:10 AM. |
||
|
|
|
|
|
#3 |
|
Member
|Forum Regular|
![]() ![]() ![]() Join Date: Mar 2007
Posts: 192
![]() |
Nice post thanks..
|
|
|
|
|
|
#4 |
|
Member
|Forum Guru|
![]() ![]() ![]() ![]() ![]() Join Date: Nov 2007
Posts: 2,189
![]() |
"recent.php" example is not correct to the end.
- not always default thumb is "1_xx.jpg" - last part of the movie url is invalid, however still work as title doesn't matter... Also don't forget - if you change something in "head1.tpl", same change should be applied to "header_view_video.tpl". Fianlly, you should mention that changes to css are valid for 1 certain template that you have. This may misslead people if they have other template than you. And indeed - post for Dummies ![]() - D.
__________________
![]() NUEVO Flash Player - most advanced video player for Clipshare and AVS ClipShare mods Last mod: Premium Membership Plugin for Nuevoplayer & Clipshare Hosting solution recommended by NuevoLab |
|
|
|
|
|
#5 | |||
|
Member
|Forum Senior|
![]() ![]() ![]() ![]() Join Date: Aug 2008
Posts: 363
![]() |
I suppose I am still a dummie huh
thanks Dagre lolQuote:
Quote:
Quote:
But anyways if I have time I'll try to find more, thanks everyone lol
__________________
For some odd reason almost all pages I attempt to visit it tells me "Page Not Found" I possibly may have been banned for rebelling against Danny too much? Sorry I haven't answered all the PM's I've received its been some time since I've last visited here. And unless I can start using the forum again I can't help anyone ![]() Clip-Share for Dummies! -The Man who Understands-
Last edited by Joe100 : 11-10-2008 at 02:22 PM. |
|||
|
|
|
|
|
#6 |
|
Member
|Forum Senior|
![]() ![]() ![]() ![]() Join Date: Aug 2008
Posts: 363
![]() |
Im sorry I did forget the DarkMatter and ClearWater. I amused everyone would know automatically that these were based on 4.xx Vista Templates, but I should have know better since most newbies wouldn't of known.
__________________
For some odd reason almost all pages I attempt to visit it tells me "Page Not Found" I possibly may have been banned for rebelling against Danny too much? Sorry I haven't answered all the PM's I've received its been some time since I've last visited here. And unless I can start using the forum again I can't help anyone ![]() Clip-Share for Dummies! -The Man who Understands-
|
|
|
|
|
|
#7 |
|
Member
|Forum Senior|
![]() ![]() ![]() ![]() Join Date: Aug 2008
Posts: 363
![]() |
"Delete Banner on Hompage?"
For some reason this one is discussed quite much, and I believe is the most easy of them all But if you don't know the script I understand in can be very difficult! Now I did this is version 4.03Open /templates/index.tpl and you should find soemthign that looks like this: Code:
<div id="leftside">
{if $smarty.session.UID eq ""}
<div class="clear"></div>
<div id="banner">
<!-- show banner feature -->
<div class="feature">
<a href="{seourl rewrite='videos' url='video.php?next=watch'}"><h3>{translate item='index.watch'}</h3></a>
<p><img src="{$imgurl}/watch.png" alt="Watch" />{translate item='index.watch_expl'}</p>
</div>
<div class="feature">
<a href="{seourl rewrite='upload' url='upload.php'}"><h3>{translate item='index.upload'}</h3></a>
<p><img src="{$imgurl}/upload.png" alt="Upload" />{translate item='index.upload_expl'}</p>
</div>
<div class="feature">
<a href="{seourl rewrite='invite' url='invite_friends.php'}"><h3>{translate item='index.share'}</h3></a>
<p><img src="{$imgurl}/share.png" alt="Share" />{translate item='index.share_expl'}</p>
</div>
<!-- end show banner -->
</div>
<br />
{insert name=advertise adv_name='home_top_banner'}
<div class="clear"></div>
<div id="recently">
<div id="recently-title">{translate item='global.recently_viewed'}</div>
<div id="recently-content">
<div class="arrow-general"> </div>
<ul id="mycarousel" class="jcarousel-skin-tango"></ul>
</div>
</div>
Code:
<div id="leftside">
{if $smarty.session.UID eq ""}
<div class="clear"></div>
{insert name=advertise adv_name='home_top_banner'}
<div class="clear"></div>
<div id="recently">
<div id="recently-title">{translate item='global.recently_viewed'}</div>
<div id="recently-content">
<div class="arrow-general"> </div>
<ul id="mycarousel" class="jcarousel-skin-tango"></ul>
</div>
</div>
![]()
__________________
For some odd reason almost all pages I attempt to visit it tells me "Page Not Found" I possibly may have been banned for rebelling against Danny too much? Sorry I haven't answered all the PM's I've received its been some time since I've last visited here. And unless I can start using the forum again I can't help anyone ![]() Clip-Share for Dummies! -The Man who Understands-
|
|
|
|
|
|
#8 |
|
Member
|Forum Senior|
![]() ![]() ![]() ![]() Join Date: Aug 2008
Posts: 363
![]() |
Despite the fact that this is more of a mod, I was asked how to do this and I should have just gave them the link I deiced to post it here too
![]() Last 5 Comments MOD. It's a little complicated but follow the steps correctly and you're good to go! 1. You'll need to open: index.php funciton.php index.tpl 2. In FUNCTION.PHP add the following around line 700: Code:
function insert_id_to_video($id)
{
global $config,$conn;
$sql="select title from video where VID='" .mysql_real_escape_string($id['vn']). "' LIMIT 1";
$rs=$conn->execute($sql);
return $rs->fields['title'];
}
function insert_vkey_to_video($id)
{
global $config,$conn;
$sql="select vkey from video where VID='" .mysql_real_escape_string($id['vk']). "' LIMIT 1";
$rs=$conn->execute($sql);
return $rs->fields['vkey'];
}
Code:
$sql = "SELECT * FROM comments ORDER BY addtime DESC LIMIT 5"; $rs = $conn->execute($sql); $recentcomments = $rs->getrows(); Code:
STemplate::assign('recentComments', $recentcomments);
Code:
{section name=k loop=$recentComments }
{assign var=looprecord value=$smarty.section.k.index}
<p>{$recentComments[k].commen}<br />
{insert name=id_to_name assign=uname un=$recentComments[k].UID}
by:<a href="{seourl rewrite="users/`$uname`" url="uprofile.php?UID=`$recentComments[k].UID`"}">{$uname}</a><br />
{insert name=id_to_video assign=title vn=$recentComments[k].VID}
{insert name=vkey_to_video assign=vkey vk=$recentComments[k].VID}
on: <a href="{seourl rewrite="video/`$recentComments[k].VID`" url="view_video.php?viewkey=`$recentComments[k].vkey`" clean=$recentComments[k].title}">{$title}</a></p>
{/section}
So there you go. That's a little something from ryno him trying to remind people to remember to keep CS MODS OPENSOURCE AND COMMUNITY ORIENTED!
__________________
For some odd reason almost all pages I attempt to visit it tells me "Page Not Found" I possibly may have been banned for rebelling against Danny too much? Sorry I haven't answered all the PM's I've received its been some time since I've last visited here. And unless I can start using the forum again I can't help anyone ![]() Clip-Share for Dummies! -The Man who Understands-
|
|
|
|
|
|
#9 |
|
Member
|Forum Senior|
![]() ![]() ![]() ![]() Join Date: Aug 2008
Posts: 363
![]() |
"How do I increase/decrease the numbers of videos displayed on the Videos (Watch) section?"
(This is for 4.xx I don't know if it works for older versions I have not checked, but I'm sure it does) Just go to /templates/video.tpl and find: Code:
{if $total le 5}
By the way someone named me a kind of catchy name...he called me "The Man who Understands" I like it ![]()
__________________
For some odd reason almost all pages I attempt to visit it tells me "Page Not Found" I possibly may have been banned for rebelling against Danny too much? Sorry I haven't answered all the PM's I've received its been some time since I've last visited here. And unless I can start using the forum again I can't help anyone ![]() Clip-Share for Dummies! -The Man who Understands-
|
|
|
|
|
|
#10 |
|
Member
|Forum Senior|
![]() ![]() ![]() ![]() Join Date: Aug 2008
Posts: 363
![]() |
"How To Add Avatar To the video page?"
Go into and find this code: Code:
<a href="{seourl rewrite="users/`$uname`" url="uprofile.php?UID=`$UID`"}"><span class="title">{$uname}</span></a>
(<a href="{$baseurl}/compose.php?receiver={$uname}"> {translate item='view_video.send_pm'} </a>)<br/>
Code:
<a href="{seourl rewrite="users/`$uname`" url="uprofile.php?UID=`$UID`"}"><span class="title">{$uname}</span></a>
<img id="video" src="{$baseurl}/photo/{if $photo eq ""}nopic.gif{else}{$photo}{/if}"/><br/>
(<a href="{$baseurl}/compose.php?receiver={$uname}"> {translate item='view_video.send_pm'} </a>)<br/>
__________________
For some odd reason almost all pages I attempt to visit it tells me "Page Not Found" I possibly may have been banned for rebelling against Danny too much? Sorry I haven't answered all the PM's I've received its been some time since I've last visited here. And unless I can start using the forum again I can't help anyone ![]() Clip-Share for Dummies! -The Man who Understands-
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Clip-Share 3.0 RC8 | Ashraf | Pre-Sales Questions | 3 | 12-14-2007 02:00 PM |
| does CLIP.VN using clip share source code. | vietprofile | Pre-Sales Questions | 0 | 08-09-2007 05:01 PM |
| Clip-Share versus Clip-Share Pro | Fidmania | Pre-Sales Questions | 1 | 07-25-2007 08:15 PM |