vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Smilie Category Hack (https://vborg.vbsupport.ru/showthread.php?t=65394)

ozmazdaclub 01-06-2005 12:05 AM

*Clicks Install

ph03nIX 01-15-2005 04:41 PM

I am not sure if this is the hack I was looking for or not. One of the forums I go to have it where on the new thread/reply page they have their smilies categorized like:

Basic
-smilies here-

Other
-smilies here-

Is this hack supposed to do this or did I do something wrong when I installed it?

Here is a snapshot:
http://locodreamers.com/snapshot.jpg

Is this correct? And if it is am I looking for a different hack or an add-on or something?

And yeah, I have 2 different smilie categories in the admicp.

Hope that made sense...

Thanks.

Pseudomizer 01-15-2005 06:27 PM

Quote:

Originally Posted by ph03nIX
I am not sure if this is the hack I was looking for or not. One of the forums I go to have it where on the new thread/reply page they have their smilies categorized like:

Basic
-smilies here-

Other
-smilies here-

Is this hack supposed to do this or did I do something wrong when I installed it?

Here is a snapshot:
http://locodreamers.com/snapshot.jpg

Is this correct? And if it is am I looking for a different hack or an add-on or something?

And yeah, I have 2 different smilie categories in the admicp.

Hope that made sense...

Thanks.

Hi,

this hack lets you categorize all your smilies when you click on the button "more smilies" on your reply page. It does not categorize your smilies on the right side of your reply box. Only if you click on the "more" button.

Hope this clarifies.

Cheers,

ph03nIX 01-15-2005 07:15 PM

OK, I am going to email the admin of the board then and ask him where he got it then.

But thanks for the help man. Still a great hack and plan to keep it. Good job with it. :ninja:

James Goddard 01-26-2005 11:01 AM

Quote:

Originally Posted by Pseudomizer
Hi MindTrix,

thanks for pointing this out. As it looks like as soon as a category name has a special character in the name like &,$, etc no smilies are showing up.

I will investigate why this is happening and i will fix this in the version. Until then please do not use any special characters in the name ( german umlaut work in the names *weird* ).

Sorry for this inconvenience.

Cheers,


Did you ever find a fix for this?

T3MEDIA 01-26-2005 12:37 PM

Listen since you seem to know exactly what is going on around here LOL how do you set up permisions for these catagories... you think you will add this?
I am clicking install where ever you have a hack that is for sure.

Pseudomizer 01-26-2005 08:07 PM

Quote:

Originally Posted by T3MEDIA
Listen since you seem to know exactly what is going on around here LOL how do you set up permisions for these catagories... you think you will add this?
I am clicking install where ever you have a hack that is for sure.

Hi T3media,

currently I do not aim to integrate permissions on the categories. But never say no. Let's see.

Cheers,

spence2 02-09-2005 03:16 AM

Thank you!

TCattitude 02-25-2005 01:59 PM

Pseudomizer, and what about to add a item in the form list to show all smilies (from all categories)?

It's posible?
How?

I like this hack, but some users who don't want to know all smilies in certain category would wish to display all of them, like the old way.
Is too hard to add a "show all" item and display the entire collection of smilies?

Pseudomizer 02-25-2005 02:09 PM

Quote:

Originally Posted by TCattitude
Pseudomizer, and what about to add a item in the form list to show all smilies (from all categories)?

It's posible?
How?

I like this hack, but some users who don't want to know all smilies in certain category would wish to display all of them, like the old way.
Is too hard to add a "show all" item and display the entire collection of smilies?

Hello TCattitude,

this would be possible but i would strongly recommend not to do it. Before my hack you had all smilies on one page. With my hack you have the ability to show the smilies in different categories.

What you are requesting would be a major change to the userprofile, the templates and the smilie php file to add the ability to set which mode you wish to have to display the smilies: with or without categories.

If you would implement something like this then some of your members who would like to see the smilies without categories will get timeouts because you have to many smilies or the load of the page would take ages.

My hack is aiming for the boards which want to implement a lot of smilies and make it browseable with the appropriate performance.

So my suggestion for you: If the majority of your members don't like the categories switch back to the normal view. Otherwise stay with my hack.

Cheers,

msimplay 02-25-2005 03:07 PM

Quote:

Originally Posted by TCattitude
Pseudomizer, and what about to add a item in the form list to show all smilies (from all categories)?

It's posible?
How?

I like this hack, but some users who don't want to know all smiliesincertain category would wish to display all of them, like the old way.
Is too hard to add a "show all" item and display the entire collection of smilies?

i was thinking the same thing a show all button
implemented into the hack
no need for user profile changes just one button that allows to show them all as a choice in the smilie popup itself

TCattitude 02-25-2005 04:38 PM

Quote:

Originally Posted by msimplay
i was thinking the same thing a show all button
implemented into the hack
no need for user profile changes just one button that allows to show them all as a choice in the smilie popup itself

Yes.
I don't want a userprofile integration.
Just a button or item in the list to "show all smilies".

Is too hard? :S

Pseudomizer 02-25-2005 06:12 PM

Quote:

Originally Posted by TCattitude
Yes.
I don't want a userprofile integration.
Just a button or item in the list to "show all smilies".

Is too hard? :S

Then why do you need my hack? Your show all smilies button would be the standard smilie integration from vbulletin. I do not see the need here. Just deinstall my hack and you have all smilies there.

Cheers,

TCattitude 02-26-2005 11:22 AM

Quote:

Originally Posted by Pseudomizer
Then why do you need my hack? Your show all smilies button would be the standard smilie integration from vbulletin. I do not see the need here. Just deinstall my hack and you have all smilies there.

Cheers,

I like the hack. I love it (i have a lot of smilies)
70% of the users likes too.
The rest just want to have an item in the list or a button "show all", to show all smilies at once.

I understand if you can't view the point of this... but i ask if you please cand do something like this with you hack?
A simple modification to make a "show all smilies" button appear, and make the life of some users in a board with this hack installed a little bit easy.

I'm not a php guru. If i could, i do the modification myself.
Can you, please? :ermm:

Pseudomizer 02-26-2005 12:40 PM

Quote:

Originally Posted by TCattitude
I'm not a php guru. If i could, i do the modification myself.
Can you, please? :ermm:

Ok. I will put your request into the to-do list for the next update of this hack. I can not decline such arguments.

Cheers,

TCattitude 02-26-2005 05:59 PM

Quote:

Originally Posted by Pseudomizer
Ok. I will put your request into the to-do list for the next update of this hack. I can not decline such arguments.

Cheers,

Thanks for all in advance! ;)
Greetings

T3MEDIA 03-07-2005 12:16 PM

Quote:

Originally Posted by Pseudomizer
Ok. I will put your request into the to-do list for the next update of this hack. I can not decline such arguments.

Cheers,

Pseudomizer Be a god send and do this for Post icons as well? have like the first 5 and if there are more put them in the more list. Those post icons if you have a lot are a nightmare to load. That would be hack of the year for sure.

EVERYONE has that issue.

Pseudomizer 03-07-2005 12:32 PM

Hello T3media,

Post Icons? On every board there is the standard list of 2 rows of icons. How many people are using more then this please?

Cheers,

T3MEDIA 03-07-2005 07:35 PM

Quote:

Originally Posted by Pseudomizer
Hello T3media,

Post Icons? On every board there is the standard list of 2 rows of icons. How many people are using more then this please?

Cheers,

LOL your joking right? You got those gray ones still? No no no that wont do! I have around 20 or so icons for post. Some are shown for elite users some are for registered some are for waiting for email confirmation.

A lot of users are like that to be hoenst with you. The more icons you have the slower the page loads. it even adjusts your table and looks weird while loading.

Pseudomizer 03-07-2005 08:13 PM

Let's determine what you are talking about. Below every post in your editor you have your post icons. On the right you have your smilies with the more button.

As it looks like you are talking about the avatars? Please confirm.

Cheers,

T3MEDIA 03-08-2005 07:55 PM

Quote:

Originally Posted by Pseudomizer
Let's determine what you are talking about. Below every post in your editor you have your post icons. On the right you have your smilies with the more button.

As it looks like you are talking about the avatars? Please confirm.

Cheers,

Avatars? No Post icons. That is what they are called on vb admin page. your first discription is what I am talking about.

Stuff below... for example if you quote me or reply you will see them below this text.

Pseudomizer 03-11-2005 01:09 PM

Quote:

Originally Posted by T3MEDIA
Avatars? No Post icons. That is what they are called on vb admin page. your first discription is what I am talking about.

Stuff below... for example if you quote me or reply you will see them below this text.

Ok T3media,

now we determined what we talk about. But let me ask you a question:

What prevents a user which is NOT a premium member of using the bbcode for the premium smilie? E.g. :-& would be a premium smilie and only premium members would be able to click it. But the system would not prevent other users of using this code to post this smilie?

I had this discussion before and due to this nothing has been done in this direction. And keep in mind that users will share the information how to post these smilies or just use the quote button to see the bbcode for the smilie.

My personal opinion is that this is overdozed to distingiush between standard, premium, gold smilies for postings.

Cheers,

Pseudomizer

T3MEDIA 03-16-2005 02:59 AM

Hey I just was asking if you could do that for me it would be nice.
Thanks ahead of time if you do. Really would love to have this.

Pseudomizer 03-16-2005 04:42 AM

Quote:

Originally Posted by T3MEDIA
Hey I just was asking if you could do that for me it would be nice.
Thanks ahead of time if you do. Really would love to have this.

Sorry, but i do not have the time for individual hacks. I just offer hacks which i developed on my own boards and hacks where i think they make sense. If you need such a specific hack, then please post it in the appropriate section. So you either find one who will do it for you or you will have to pay for it. But I can not do it this for you.

Cheers,

Pseudomizer

T3MEDIA 03-17-2005 04:45 PM

Quote:

Originally Posted by Pseudomizer
Sorry, but i do not have the time for individual hacks. I just offer hacks which i developed on my own boards and hacks where i think they make sense. If you need such a specific hack, then please post it in the appropriate section. So you either find one who will do it for you or you will have to pay for it. But I can not do it this for you.

Cheers,

Pseudomizer

Why start this convo I dont know but I guess you had your reasons but ok. Thanks though!

GoTTi 05-08-2005 02:18 PM

just installed hack. is what i was looking for.

question

when a category in the drop down is selected, can this be made to auto-forward the user to that page they have selected?

Pseudomizer 05-09-2005 05:58 AM

Quote:

Originally Posted by Da_GoTTi
just installed hack. is what i was looking for.

question

when a category in the drop down is selected, can this be made to auto-forward the user to that page they have selected?

Hello Da_GoTTi,

sure you can. Just implement a OnChange Javascript in the form and you got it.

Cheers,

Megareus Rex 05-09-2005 05:25 PM

Excellent hack! We have tons of smilies, so this is a godsend :D

tracylee 05-30-2005 11:56 PM

Woo hoo! Thank you, this is exactly what I needed!

tracylee 05-31-2005 07:26 PM

Quote:

Originally Posted by tracylee
Woo hoo! Thank you, this is exactly what I needed!

OK, now we have one person complaining that she liked seeing all of the smilies on one page. We can create a new category of "all smilies: warning, high bandwidth" or some such, but I can't find a way to mass copy smilies from the other categories into that category. Any ideas?

(feel free to move/split this if you need to)

paul41598 07-09-2005 06:49 PM

is there anyway to have like a category called "staff smilies", that only admins/mods can access? Any hopes?!!

Pseudomizer 07-09-2005 10:35 PM

Quote:

Originally Posted by paul41598
is there anyway to have like a category called "staff smilies", that only admins/mods can access? Any hopes?!!

Sure. Just implement for admins something like:

PHP Code:


if ( $bbuserinfo[usergrouid] == "6" )
{
       echo 
"<option bla bla>My Category</option>">


But be aware that other people will be able to use the same smilies as soon as they copy the code from the originals postings. So for me this does not make sense at all. But the solution is above.

Cheers,

paul41598 07-09-2005 11:31 PM

Quote:

Originally Posted by Pseudomizer
Sure. Just implement for admins something like:

PHP Code:


if ( $bbuserinfo[usergrouid] == "6" )
{
       echo 
"<option bla bla>My Category</option>">


But be aware that other people will be able to use the same smilies as soon as they copy the code from the originals postings. So for me this does not make sense at all. But the solution is above.

Cheers,

where do I put that? In a template or in misc.php? Where exactly? Sorry for stupidity.

Love the hack m8, thanks again! :)

Pseudomizer 07-10-2005 03:57 AM

Quote:

Originally Posted by paul41598
where do I put that? In a template or in misc.php? Where exactly? Sorry for stupidity.

Love the hack m8, thanks again! :)

Look for this code in the install.html file:

PHP Code:

foreach ($new_categories AS $input)
    {
        
$add_select .= "<option value=\"".$input."\">$input";
    } 

It should look like this:

PHP Code:

foreach ($new_categories AS $input)
    {
                           if ( 
$input == "yourcategoryname" 
                          {
                                if ( 
$bbuserinfo[usergrouid] == "6" )
                                { 
                                
$add_select .= "<option value=\"".$input."\">$input";
                                }
                                else
                                {
                                 
// do nothing
                                
}
                           }
                           else
                           {
        
$add_select .= "<option value=\"".$input."\">$input";
                           }
    } 

And if you want to add more categories then replace this line:

PHP Code:

                           if ( $input == "yourcategoryname" 

with this:

PHP Code:

                           if ( $input == "yourcategoryname" || $input == "secondcategory" 

Cheers,

paul41598 07-10-2005 06:00 AM

worked perfect, thanks alot man! :D

paul41598 07-11-2005 01:14 PM

small problem/bug:

if you goto the FAQ section of the forums, you can see all the smilies. How can I block access there to the staff smilies?

paul41598 07-11-2005 01:35 PM

I got this far, and it doesnt show the staff smilies now, but it be cool, if they would at least show for admins/mods, instead of not at all.

PHP Code:

    while ($smilie $DB_site->fetch_array($smilies))
    {

                      if ( 
$smilie['category'] == "TCW Staff Smilies" )
                          {
                                if ( 
$bbuserinfo[usergroupid] != "6" || $bbuserinfo[usergroupid] != "7")
                                {
                                
//eval('$smiliebits .= "' . fetch_template('help_smilies_category') . '";');
                                
}
                else {
            
            }
                           }

        else {

        if (
$smilie['category'] != $lastcat)
        {
            eval(
'$smiliebits .= "' fetch_template('help_smilies_category') . '";');
        }
        
exec_switch_bg();
        eval(
'$smiliebits .= "' fetch_template('help_smilies_smilie') . '";');
        
$lastcat $smilie['category'];
    }

            } 

N/M Figured It Out !!!

98EXL 07-28-2005 06:25 PM

this is cool, I always wanted to separate the 'naughty' smilies :D

Starkiller 08-03-2005 07:13 PM

First hack I ever installed.

I modified misc.php and FTPed it back up to my server and went in to ACP and modified the template. And I have two smilie categories defined.

But nothing seems to have changed.

http://eldiaonline.net/boards/misc.php?do=showsmilies

Still show all the smilies at once.

Any help would be greatly appreciated. Thanks.

Pseudomizer 08-03-2005 07:27 PM

Quote:

Originally Posted by Starkiller
First hack I ever installed.

I modified misc.php and FTPed it back up to my server and went in to ACP and modified the template. And I have two smilie categories defined.

But nothing seems to have changed.

http://eldiaonline.net/boards/misc.php?do=showsmilies

Still show all the smilies at once.

Any help would be greatly appreciated. Thanks.

Please check if you have this in your template:

$new_smilies


Cheers,


All times are GMT. The time now is 07:03 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01548 seconds
  • Memory Usage 1,877KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (7)bbcode_php_printable
  • (22)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete