vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Change the display order of smilies (https://vborg.vbsupport.ru/showthread.php?t=25888)

Mike Gaidin 10-01-2001 12:55 AM

Great hack! Thanks!

almighty one 10-07-2001 06:45 AM

this is a good hack and all but i noticed if ya got alot of smilies and like lets say ya rename one as #5 well then you end up with 2 #5's is there a way to fix this

almighty one 10-07-2001 06:45 AM

this is a good hack and all but i noticed if ya got alot of smilies and like lets say ya rename one as #5 well then you end up with 2 #5's is there a way to fix this

Admin 10-07-2001 06:55 AM

Nope, sorry.
This is also the way it works with forums, by the way.

almighty one 10-07-2001 07:00 AM

ok n/p it is ok no matter it will show the first 15 regardless what the #s are

apollyon 10-08-2001 12:01 AM

does anyone here know how to organize the smilies into categories like i described in this topic: http://www.vbulletin.com/forum/showt...threadid=29779

apollyon 10-08-2001 03:59 PM

bump

Justice 10-16-2001 04:56 AM

another hack from FireFly that is
  • great
  • very practical
  • easy to install
  • hopefully in the next release of vB
  • further proof he's a bad ass

SirSteve 11-13-2001 12:53 AM

Does this work on vb2.2.0 ?

Admin 11-13-2001 11:22 AM

Yes it should.

|DarkManX| 11-22-2001 07:53 PM

getting this error in vb 2.2

Parse error: parse error in /****/********/***********/***/admin/smilie.php on line 262

this is line 262

if ($HTTP_POST_VARS['action']=="doorder") {

Admin 11-23-2001 10:39 AM

Probably forgot a ; or } in the line before.
Copy the 3 lines before line 262.

Wayne2k1.com 11-23-2001 11:33 AM

Installed.

Everything's fine :D

|DarkManX| 11-23-2001 12:13 PM

Quote:

Originally posted by FireFly
Probably forgot a ; or } in the line before.
Copy the 3 lines before line 262.


ok here is the block just before 262

// ###################### Start Kill #######################

if ($HTTP_POST_VARS['action']=="kill") {

$DB_site->query("DELETE FROM smilie WHERE smilieid=$smilieid");

echo "<p>Deleted!</p>";

$action="modify";
}
// ###################### Start do order #####################
if ($HTTP_POST_VARS['action']=="doorder") {

|DarkManX| 11-23-2001 02:38 PM

ya see anything that could be wrong?

thanks in advance for the help

Admin 11-23-2001 03:03 PM

Everything seems right. :confused:

Try to install the hack again on a fresh version of smilie.php.

|DarkManX| 11-23-2001 03:26 PM

tried it on a fresh smilie.php and get the same thing.....

|DarkManX| 11-23-2001 04:41 PM

shoot....any idea's at all....i really want to be able to arrange them.......

|DarkManX| 11-25-2001 05:51 PM

well i guess the 3rd time was the charm....didn't do anything differently....just all of the sudden workd...so she works good on 2.2

FWC 11-25-2001 07:03 PM

Quote:

Originally posted by |DarkManX|
well i guess the 3rd time was the charm....didn't do anything differently....just all of the sudden workd...so she works good on 2.2
At least it works now. :)

Brian Cruz 12-12-2001 01:24 AM

I installed this, but it doesn't affect the order in the "get more" smilies box. Did I do something wrong, or is it not designed to do that?

Dalius 12-13-2001 12:40 AM

this works on 2.2.1 right???

Dalius 12-13-2001 12:49 AM

YEAH!
Installed on 2.2.1, works PERFECTLY!
Thanks FireCat

Admin 12-13-2001 05:01 AM

Oi!

Rose 01-18-2002 06:12 PM

*sigh* I thought I had this working, but apparently it's not.


I have installed the hack, and even got so far as testing the smilie orders and whatnot. Everything seemed to work with a few minor errors at the top of the pages, but they looked like they were unrelated.

Now, I'm afraid they are related. This is the last hack I have installed. I tried reverting to my original 'functions.php' and 'smilie.php' file, but to no avail.

Here's the errors on the homepage:
Quote:

Warning: Cannot add header information - headers already sent by (output started at /home/simpson/public_html/admin/functions.php:2228) in /home/simpson/public_html/admin/functions.php on line 1498

Warning: Cannot add header information - headers already sent by (output started at /home/simpson/public_html/admin/functions.php:2228) in /home/simpson/public_html/admin/functions.php on line 1498

Warning: Cannot add header information - headers already sent by (output started at /home/simpson/public_html/admin/functions.php:2228) in /home/simpson/public_html/admin/functions.php on line 1498
This is above the header banner on the forum home page. I had turned the bulletin board to 'off' in case any errors occured. Unfortunately, now, I can't get into the admin cp!! The errors quoted above are also listed on the admin cp. When I enter my name and password, it shows the "hang on a sec" then it goes back to the normal (without errors) admin log in screen. But it just cycles again if I try to log in again. :(

Line 1498 is:
Code:

  if ($cookiedomain) {
    setcookie($name, $value, $expire, $cookiepath, $cookiedomain, $secure);
  } else {
    setcookie($name, $value, $expire, $cookiepath, '', $secure);
  }

The line after the 'else' is the line #1498 - I thought I'd post the surrounding code for clarification.


Any help? :(

Rose 01-19-2002 02:13 PM

The problem I had is now fixed. Thankfully it has nothing to do with this hack. This hack is the GREATEST!! Probably my all time fave.


One error in the script of Firefly's original post - startpage is mispelled in about the third line to find in the Smilie.php.

:)

Excellant work

DelusionalMind 01-19-2002 06:04 PM

nice :)

many thanks man

I see that vb.org is using this. heh

Shenlong 01-19-2002 09:05 PM

spectacular hack firefly!

Lucky 01-19-2002 10:31 PM

Great job again.

Thank you kindly!

blazin 01-20-2002 03:44 AM

i just uploaded that file, chose the 2nd install option, got an OK message, but there is no order # field in my smilie menu. What did I do wrong?

Xelation 01-23-2002 08:40 PM

Great Hack! I no longer have my big smilies up front... This helps me out a lot!!! No problems installing... Keep it up!

Xelation 01-24-2002 02:10 AM

Crap, found an error.... well what happens is... when I click for more smilies... the pop up comes up... but when I go to click on a smilie, the smilie browser turns to a "page cannont be found" link.... can anyone help me? thx

Admin 01-24-2002 01:16 PM

Nothing to do with my hack... do you happen to use the php3 version?

Xelation 01-24-2002 01:46 PM

I dont us the php3 version.

DarkReaper 01-26-2002 02:29 AM

Would it be possible to make it so smilies with a display order of 0 aren't in the list?

Also, it'd be nice to be able to specify random smilies, with some smilies being more frequent than others, and some not showing up at all :)

Souli 01-27-2002 07:10 PM

Nice Hack, but is it possible to include a rating system ? (Every User with >100 Posts can rate 10 Smilies from the List and only the best 10 or XX Smilies will show!?)

Brian Cruz 01-30-2002 08:10 PM

Any way to get this to affect the "get more" box?

Kat 02-04-2002 07:21 PM

I just used this on version 2.2.2 and it worked GREAT, thank you!!! :cool:

Lucky 02-05-2002 02:51 AM

Got vbp3.0pr7 and vb2.2.2 and all is working great!

Thanks. :p

mondaynightmike 02-15-2002 03:09 PM

Great hack. Thanks Firefly


All times are GMT. The time now is 05:54 AM.

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.01233 seconds
  • Memory Usage 1,787KB
  • 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
  • (1)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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