You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 191 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - View More Emoticons [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
CauSTiC
Nuke Cadet
Nuke Cadet


Joined: May 28, 2003
Posts: 1


PostPosted: Wed May 28, 2003 4:30 pm Reply with quoteBack to top

The length and width on the window that pops up when a user clicks 'View more Emoticons' when posting, is too small for my emoticon list. How would I go about setting that window up to stretch to the full table needed to view the entire collection, without having to resize the window? (Some emoticons I have are larger in width than the default set, that's why the table is stretched beyond the defualt size of the popup window). Thanks for any help or direction.
Find all posts by CauSTiCView user's profileSend private message
Maniax
Nuke Soldier
Nuke Soldier


Joined: Apr 26, 2003
Posts: 14


PostPosted: Sat Jun 28, 2003 9:10 pm Reply with quoteBack to top

Found out how to do it myself Wink First you need to know if you are using the default theme for your phpbb boards or not. The file we are looking for is called "posting_body.tpl" Now this file will either be in your modules/Forums/templates directory or it will be in your themes/%themename%/forums directory.

Once you find it open it in any editor and find line 282 (or close to it) There will be a reference to U_MORE_Smiles so you'll know it's the right line. On that line the new window size values are written. The default is 300 and 250. Change these to whatever you want the new open window to be and your set Wink

Hope it helps!
Find all posts by ManiaxView user's profileSend private message
552211
Sergeant
Sergeant


Joined: Feb 28, 2005
Posts: 140


PostPosted: Mon May 16, 2005 9:31 am Reply with quoteBack to top

For some reason this does not work for me. Changing the 300 and or 250 does not resize the pop-up window at all. Has anyone else had this problem or know what the problem is?

Thanks.

_________________
What you teach me today, I will be able to pass on to others tomorrow, thus making less work for you!

PHP-Nuke 7.6 Platinum
phpBB 2.0.11
Find all posts by 552211View user's profileSend private message
552211
Sergeant
Sergeant


Joined: Feb 28, 2005
Posts: 140


PostPosted: Thu Jun 02, 2005 10:17 am Reply with quoteBack to top

Still trying to adjust this but changing the 300 and or 250 does not resize the pop-up window at all.

Anyone have any ideas???

_________________
What you teach me today, I will be able to pass on to others tomorrow, thus making less work for you!

PHP-Nuke 7.6 Platinum
phpBB 2.0.11
Find all posts by 552211View user's profileSend private message
Steptoe
Captain
Captain


Joined: Oct 10, 2004
Posts: 563


PostPosted: Thu Jun 02, 2005 1:51 pm Reply with quoteBack to top

Like it...just had a play....
Changing themes/deepblue/forums/posting_body.tpl
makes the change without changing
There is also
modules/forums/templates/subsilver/posting_body.tpl
I have changed both anyway
Note: If u have the reply to window open, then change the code, then re hit the 'veiw more emotions' there will be no change...refresh the reply to window 1st and u will see the change
If you have and extra line or so of smilies added 450 x 800 is a good place to start.
Find all posts by SteptoeView user's profileSend private messageVisit poster's website
Xyberian
Colonel
Colonel


Joined: Mar 14, 2004
Posts: 1939

Location: Behind you

PostPosted: Thu Jun 02, 2005 2:25 pm Reply with quoteBack to top

Change the following variables:

1) open includes/functions_post.php
2) find the following varialbes:

$inline_columns = 4;
$inline_rows = 5;
$window_columns = 8;

3) change the above values and look at your posting screen.

_________________
Home of the Enterprise PHP-NUKE
Find all posts by XyberianView user's profileSend private messageVisit poster's website
Steptoe
Captain
Captain


Joined: Oct 10, 2004
Posts: 563


PostPosted: Thu Jun 02, 2005 3:58 pm Reply with quoteBack to top

COOL!!!
the 1st changes the horozonal # collums of the smiles part Shocked
Changing to 5 or 6 doesnt distort the window too much Very Happy
2nd the # vertical rows Very Happy
8 seemed to work out as a good # here
the 3rd didnt seem to change anying, or I am missing something Rolling Eyes

Note:If u have a smilie that is very wide (mexican wave) or high (jaw drop) and these appear on the relpy page, they will screw up the size of the page...either delete, or move to bottom of smiles list so the appear only when hit 'more smiles'

To change the order of smiles go into phpmyadmin/ bbsmiles/browse
editing the # in the smilies id colum u can sort the order so u dont get several wide or high smiles in the same column distorting the page.
Once sorted u may have to go back and resize the veiw more emotions window....

Now next question Rolling Eyes the veiw more emotions window, the above resizes the overall window size...inside that window the emotions have a border around at a fixed size, how does one change that?
With a window as described above it comes up over the posting area, not user freindly.
If it was made more vertical and still on the left (default), it would be far more user feindly. Idea
Find all posts by SteptoeView user's profileSend private messageVisit poster's website
Xyberian
Colonel
Colonel


Joined: Mar 14, 2004
Posts: 1939

Location: Behind you

PostPosted: Thu Jun 02, 2005 4:23 pm Reply with quoteBack to top

It's too much boring... Sorry. I don't keep talking about this.

_________________
Home of the Enterprise PHP-NUKE
Find all posts by XyberianView user's profileSend private messageVisit poster's website
Steptoe
Captain
Captain


Joined: Oct 10, 2004
Posts: 563


PostPosted: Thu Jun 02, 2005 6:00 pm Reply with quoteBack to top

Thats a shame....
Looking thru the "How To..."
Seaching the forums
There is nothing...in fact there has be been many posts in the past asking about all of the above, and this is the ONLY thread that covers this and has answers that I can find..
So here we are in a thread that damn near covers the whole issue of adjustments, issues that may arise. with experts pionting us in the right direction, that without, we would not have got this far, then the last bit to polish it off....and bang...BORED Confused
At least, a file name to look in....or a couple to give us an idea where to look??
Find all posts by SteptoeView user's profileSend private messageVisit poster's website
552211
Sergeant
Sergeant


Joined: Feb 28, 2005
Posts: 140


PostPosted: Thu Jun 02, 2005 6:48 pm Reply with quoteBack to top

Xyberian;

My includes/funtion.php looks like this:

/*****************************************************/
/* Forum - Configure Smilies Table v.1.0.0 START */
/*****************************************************/
$inline_columns = $board_config['smilie_columns'];
$inline_rows = $board_config['smilie_rows'];
$window_columns = $board_config['smilie_window_columns'];

There are no numbers to adjust!

*********************************************************************************
Steptoe;

I'm not sure what you're saying but if you're having the same problem as me, read on.
*********************************************************************************

To all;

I must be stupid! I'm almost positive that I tried adjusting the variables in posting_body.tpl both in my default theme and all other themes I use and it did not work. Well with no new answers here, I tried it again and it did work. So Maniax's solution was correct in the first place! I think maybe before when I made the changes I did not reload the page first before seeing if the changes took effect. You have to do that in order to see if it worked.

So to make a long story short, "posting_body.tpl" seems to be the key file here for resizing the smileys pop-up window. You will need to change the default setting of 300 x 250 in that file for all themes you use and the default theme (sub-silver) to be safe.

Thanks Maniax... Very Happy

_________________
What you teach me today, I will be able to pass on to others tomorrow, thus making less work for you!

PHP-Nuke 7.6 Platinum
phpBB 2.0.11
Find all posts by 552211View user's profileSend private message
Xyberian
Colonel
Colonel


Joined: Mar 14, 2004
Posts: 1939

Location: Behind you

PostPosted: Thu Jun 02, 2005 7:23 pm Reply with quoteBack to top

552211 wrote:

$inline_columns = $board_config['smilie_columns'];
$inline_rows = $board_config['smilie_rows'];
$window_columns = $board_config['smilie_window_columns'];
Hey, I think, giving the core part to you is enough. All of resting stuffs are remained to you. $board_config array is another part which you can access and adjust. For instance, you may change these parameters in admin CP which you can tweak.
552211 wrote:

So to make a long story short, "posting_body.tpl" seems to be the key file here for resizing the smileys pop-up window. You will need to change the default setting of 300 x 250 in that file for all themes you use and the default theme (sub-silver) to be safe.

Thanks Maniax... Very Happy
poping-up the avatars is an different issue. The actual size of it is controllable as well in posting.php file not in the corresponding template file.

This is the thumb of rule: All template for phpBB2 & BB2Nuke are interfaces not the core engine. All cores are .php files. This means that, simply changing templates is absurd in a sense that you have to change them whenever you change theme-packs. In my opinion, that is not a good way because you will lose "consistency."

_________________
Home of the Enterprise PHP-NUKE
Find all posts by XyberianView user's profileSend private messageVisit poster's website
Xyberian
Colonel
Colonel


Joined: Mar 14, 2004
Posts: 1939

Location: Behind you

PostPosted: Thu Jun 02, 2005 7:26 pm Reply with quoteBack to top

Steptoe wrote:
Thats a shame....
Looking thru the "How To..."
Seaching the forums
There is nothing...in fact there has be been many posts in the past asking about all of the above, and this is the ONLY thread that covers this and has answers that I can find..
So here we are in a thread that damn near covers the whole issue of adjustments, issues that may arise. with experts pionting us in the right direction, that without, we would not have got this far, then the last bit to polish it off....and bang...BORED Confused
At least, a file name to look in....or a couple to give us an idea where to look??
Sorry, Steptoe. What I meant by that was,... I just felt bored in talking the strcturally simple one. However, I don't give up on all nukers. Don't shoot me.

_________________
Home of the Enterprise PHP-NUKE
Find all posts by XyberianView user's profileSend private messageVisit poster's website
Steptoe
Captain
Captain


Joined: Oct 10, 2004
Posts: 563


PostPosted: Thu Jun 02, 2005 8:27 pm Reply with quoteBack to top

LMAO!! little do u know I have played delta force seies for yrs now...
With one of the highest if not the higest sniper hit rates Wink
Its good theres a sence of humour amoungst all this drab coding stuff.
I am a bit lost with this stuff
Quote:
$inline_columns = $board_config['smilie_columns'];
$inline_rows = $board_config['smilie_rows'];

Im not sure if thats answering my question Embarassed or what to do with it if is is.
Quote:
veiw more emotions window, the above resizes the overall window size...INSIDE that window the emotions have a border around at a fixed size, how does one change that?

I have searched thru all the txt of all files that have smilie, smiley and anyothers that could vaguely may have the settings...its the border around the actual smiles I want to change....?...If i knew code better Rolling Eyes
To me it seems it is the # of smiles across the window that determines the horozontal size of the 'inner window border??? and the vertical size sort of adjusts itself to fit???
currently I have 8 rows across and to make everything look better I need to change to 5 rows across..

I agree on u re lots of themes...they are pain in the butt, take up too much time every time one wants to change something, and at my age I cant afford to rip my hair out over them Confused ....I just use the default deepblue and silver themes ....with a few icons , gifs and colour #1232r4 code things changed
Find all posts by SteptoeView user's profileSend private messageVisit poster's website
552211
Sergeant
Sergeant


Joined: Feb 28, 2005
Posts: 140


PostPosted: Fri Jun 03, 2005 7:30 am Reply with quoteBack to top

Absurd or not Xyberian, it works, and I was able to finally adjust my popup window size. The way you are telling me it should be done may be a little too advanced for me at this time. Adjusting the posting_body.tpl file for every new theme I add is not a big deal. I have to do that with many other files anyway because of allot of custom stuff I have so it's just one more file to add to the list!

I'll keep reading what you're saying and see if I can do it your way but your English is a little hard to understand, sorry.

BTW, the expression is "Rule of Thumb", not "thumb of rule"....... Wink

_________________
What you teach me today, I will be able to pass on to others tomorrow, thus making less work for you!

PHP-Nuke 7.6 Platinum
phpBB 2.0.11
Find all posts by 552211View user's profileSend private message
Xyberian
Colonel
Colonel


Joined: Mar 14, 2004
Posts: 1939

Location: Behind you

PostPosted: Fri Jun 03, 2005 10:12 am Reply with quoteBack to top

552211 wrote:
I'll keep reading what you're saying and see if I can do it your way but your English is a little hard to understand, sorry.
Probably, from time to time, when I feel bored, my phrases will be metaphorical. Never mind it.
552211 wrote:
BTW, the expression is "Rule of Thumb", not "thumb of rule"....... Wink
Occasionally, we need a tweak of everyday life as a stupid joke.

_________________
Home of the Enterprise PHP-NUKE
Find all posts by XyberianView user's profileSend private messageVisit poster's website
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by TOGETHER TEAM srl ITALY http://www.togetherteam.it - DONDELEO E-COMMERCE http://www.DonDeLeo.com - TUTTISU E-COMMERCE http://www.tuttisu.it
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.176 Seconds - 150 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::