Some questions

timgbg

New Member
Hi,

First of all, what a great topsite list script!

I would like to make 3 small adjustments and I hope that someone can help me out...

1: On the details page I changed the big screenshot to show a small screenshot, it looks great but I would like the description to end like 10-15 px before the screenshot... can I set a margin or padding on the small screenshot somewhere?

2. Where can I change the text VOTE on the vote-button on the details page?

3. Where to change the text-size of the small text above the description;

Toplistname >> Category >> username - url

Can I also add a little bit more space to the bottom under this text?

Hopefully you understand what I mean :)

Best regards, Tim
 

cajkan

Active Member
Hello Timgbg, Visiolist is great script and i recommend to everyone.

1. Open Stats.html file:
You can create paragraph class and style width size:
HTML:
<p class="details">{$description}</p>
Then style with CSS:
Code:
.details { width: 400px; }
2. Stats.html :
HTML:
<div id="social_block">
<a href="{$list_url}/index.php?a=in&u={$username}" class="stats_vote" rel="nofollow">VOTE</a>
  {$stats_social_pages}
</div>
Just edit the VOTE Text

3. Go to your Skin folder ->Skin name - screen.css
Search for .breadcrumb
.breadcrumb { font-size: 11px; padding: 10px; }
Font changes your font size, padding gives more space.

If you still have problems, feel free to ask.
 

timgbg

New Member
Thank you very much "cajkan" for your fast reply! It worked very good :).. But the description width did not change.. I guess you meant to style in screen.css? I put the code in the bottom but nothing happened..
 

Basti

Administrator
Staff member
Just a small note:
1) Make changes to your css only via user.css
2) Make changes to html only via the child feature
-- either admin -> skins & categories -> edit child
-- or copy the html file into your skins "child" ( thats the actual name ) folder and edit it from there.

That allows you to not loose your changes on script updates and you can savely overwrite the hole skins folder
 

timgbg

New Member
Ok, thanks :)

Hmm, the problem with the description text still remains though... it just won´t get any smaller in width..
 

cajkan

Active Member
Hello again Timgbg,

Looks like you have added .details twice on your screen.css, you have one on line 489 and line 727.

Everything works just fine you need to make the code exactly to work.
Example:
.details { width: 400px; }
.details { width: 400 px; }

Spacings make a lots of problem :)
 

timgbg

New Member
Aaa, my bad... thanks :)

It does for sure!

May I ask if there is any chance of changing the date-format? And where would that be then?

Cheers!
 

Basti

Administrator
Staff member
You would need a plugin for that. Simply upload the attached plugin.
It will remove the hours, min, seeconds just, but you could extend it however you like.

If you open for example details_compile_details.php of this plugin you see
Code:
$TMPL['join_date'] = date('Y-m-d', strtotime($TMPL['join_date']));
The Y-m-d means Y ( year 4 digits ), m ( month 2 digits ), d ( day 2 digits )

Swap them around or add any other date modifier you like, you will find possible modifiers with explanation here: http://www.php.net/manual/en/function.date.php
 

Attachments

timgbg

New Member
Thank you very much!

I was thinking of changing the date format on the stats-page, is that what that plgin does?

Again, thanks a lot for a great support!
 

Basti

Administrator
Staff member
Exactly, like i said by default it just remove the hour, min etc, if you want other stuff, take that link i posted for help or ask here
 
Top