Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt November 11, 2024
Guest Posted June 28, 2010 Posted June 28, 2010 last time Jason emailed me this: This was the solution for 3.0.5 Hello, Emoticons are not displayed on the forum in alphabetical order. They are displayed in the ACP in alphabetical order, but they are displayed on the forum, when you click on "Show All" or the emoticon button in the order that they are stored in the database. Changing the filename or the replacement would have no effect on their ordering. To change the ordering when displayed on the forum, you would have to edit the /admin/applications/forums/modules_public/ajax/emoticons.php file $this->DB->build( array( 'select' => 'typed, image', 'from' => 'emoticons', 'where' => "emo_set='".$this->registry->output->skin['set_emo_dir']."'" ) ); Changing that to something like $this->DB->build( array( 'select' => 'typed, image', 'from' => 'emoticons', 'where' => "emo_set='".$this->registry->output->skin['set_emo_dir']."'", 'order' => 'image' ) ); WOULD cause them to be sorted by the image name, which is the actual filename on the disk, when the "Show All" link was clicked. Jason IPS Support And for the IP.Chat Hello, Same change, but in the file /admin/applications_addon/ips/ipchat/modules_public/ipschat/chat.php Jason IPS Support I did the code changing and works great for the IP.Board 3.0.5: works great for the IP.Chat: But now.. there's a problem... with 3.1.1 ... i see this on the /admin/applications/forums/modules_public/ajax/emoticons.php What is this ZEND ? Why the change ? Now my emoticons are displayed like this:
AndyF Posted June 28, 2010 Posted June 28, 2010 Some files are encoded if you are using the board that comes with IPS Hosting :)
Guest Posted June 29, 2010 Posted June 29, 2010 Is there a solution on how to put my 500 emoticons in orders ? My emoticons are in numerical orders (example: 001.png 002.png 003.png 004.png ....)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.