Helpful Information
 
 
Category: Community Discussions
How many uses style + 1 more

Hi.

I`m not sure if this has already been released, so i tried a search for it, but din`t find any. So i request it :p :)


Style:

I dosen`t like the style dropdown hack, but i was looking for something that only could show the users on forum home who is using what of styles with a template. 10 users uses style: dark blue 15 users uses style: light blue.. etc.


Hmmm.. is this been realesed already ??


Sig:

I know there is a sig editor hack out, but what i`m looking for is an hack that could do something like this....:

When sombody posts something, the sig will show. And when others post a reply to it the sig will aslo show on them (who has a sig of course), but if they replied again, the sig wouldn`t show.
Just to save bandwitch for users with ex. 56k or less.

Result. you post an answer after this, your sig will show. but if you post another reply, the sig will only be shown at your first post.

I hope you guys understand me, and sorry for my bad english.

That`s all :)

Cheers, :banana:

You could probably take the Style Drop Down and do some template mods to it to get it to display how you want ;)

Something like that i would love to have a help for... hehe

But ok.

Thankx. :)

I could help you. I have too much time on my hands ;)

Ok, install the Style Drop down file mod:
In index.php, find this:
=========================
// if user is know, then welcome

And add this right before that:
================================
// style drop down box (by FireFly)
$allstyles=$DB_site->query("SELECT style.title, user.styleid, COUNT(*) AS count FROM user LEFT JOIN style USING (styleid) WHERE style.styleid IS NOT NULL AND style.userselect=1 GROUP BY user.styleid");
$dropdownbits='';
while ($thisstyle=$DB_site->fetch_array($allstyles)) {
if ($styleid==$thisstyle[styleid]) {
$stylesel='selected';
} else {
$stylesel='';
}
eval("\$dropdownbits .= \"".gettemplate('forumhome_dropdownbit')."\";");
}
// style drop down box (by FireFly)

Now, make the new template:
Now create a new template, call it forumhome_dropdownbit with this in it:
==========================================================================
$thisstyle[title] ($thisstyle[count] users)

and.........

Add This into your forumhome template
============================

Styles:
$dropdownbits


This will display he styles like this:
Blah Style (100 Users) Blah 2 (34 Users)

;)

Sorry m8.. i have totally forgot to say thank you for your help... i`m sorry.. haven`t had the time to install it yet, but i will try...

Thank you again :)

Cheers










privacy (GDPR)