[Answered] More then 20 Emoticons (Smilies)?

This is an archive of the phpBB 2.0.x support forum. Support for phpBB2 has now ended.
Forum rules
Following phpBB2's EoL, this forum is now archived for reference purposes only.
Please see the following announcement for more information: viewtopic.php?f=14&t=1385785
Locked
SpaceMan Spiff
Registered User
Posts: 2
Joined: Thu Apr 18, 2002 5:02 am

[Answered] More then 20 Emoticons (Smilies)?

Post by SpaceMan Spiff »

Is there a way for me to add more then 20 smilies to the left when you are writing a Post?
-Spiff
Bear
Registered User
Posts: 2586
Joined: Mon Dec 31, 2001 7:50 pm
Location: 127.0.0.1
Contact:

Post by Bear »

If you familiar with PHP, then you could edit the code. If you are, let me know and I will give you the location of the code.
Bear
Got a thing for fashion? So do we at the Fashion Spot.
Let us give you the Royal Treatment at Les Tribunes Royales.
phpbb-fan
Registered User
Posts: 275
Joined: Fri Oct 12, 2001 5:03 am

Post by phpbb-fan »

I searched in posting.php, posting_body.tpl and posting_smilies.tpl and did a search for smil*

I can't find the code to change it...
Bear
Registered User
Posts: 2586
Joined: Mon Dec 31, 2001 7:50 pm
Location: 127.0.0.1
Contact:

Post by Bear »

Look in functions_post.php around line 739:

Code: Select all

function generate_smilies($mode, $page_id)
{
	global $db, $board_config, $template, $lang, $images, $theme, $phpEx, $phpbb_root_path;
	global $user_ip, $session_length, $starttime;
	global $userdata;

	$inline_columns = 4;
	$inline_rows = 5;
	$window_columns = 8;
Of course, I'm not responsible for any problems that might occur. As always, make a backup before you modify anything.
Bear
Got a thing for fashion? So do we at the Fashion Spot.
Let us give you the Royal Treatment at Les Tribunes Royales.
SpaceMan Spiff
Registered User
Posts: 2
Joined: Thu Apr 18, 2002 5:02 am

Post by SpaceMan Spiff »

Thanks :D

Worked Great!
-Spiff
Bear_nG
Registered User
Posts: 125
Joined: Fri Apr 05, 2002 9:22 am
Location: Brisbane, Australia
Contact:

Post by Bear_nG »

Bear hug!

Thanks... saved me looking!
Night4554
Registered User
Posts: 99
Joined: Sun Apr 07, 2002 3:09 am

Post by Night4554 »

Why is it when i do somehting as simple as this, i get include errors?
Greven
Registered User
Posts: 69
Joined: Fri Aug 10, 2001 4:25 pm
Contact:

Post by Greven »

LOL... I know how you feel. I killed my forum changing themes!!!

HELP http://www.phpbb.com/phpBB/viewtopic.php?t=14318
Night4554
Registered User
Posts: 99
Joined: Sun Apr 07, 2002 3:09 am

Post by Night4554 »

okay, there is no good reason i should get errors like:
my phpBB board wrote: Warning: Cannot add header information - headers already sent by (output started at /home/dsawyer/blenderwars-www/phpBB2/includes/functions_post.php:2) in /home/dsawyer/blenderwars-www/phpBB2/includes/page_header.php on line 451

Warning: Cannot add header information - headers already sent by (output started at /home/dsawyer/blenderwars-www/phpBB2/includes/functions_post.php:2) in /home/dsawyer/blenderwars-www/phpBB2/includes/page_header.php on line 452

Warning: Cannot add header information - headers already sent by (output started at /home/dsawyer/blenderwars-www/phpBB2/includes/functions_post.php:2) in /home/dsawyer/blenderwars-www/phpBB2/includes/page_header.php on line 453


when i so much as change the variable in the least (making the 4 a 5 for example)
Locked

Return to “2.0.x Support Forum”