| Author |
Message |
CauSTiC
Nuke Cadet


Joined: May 28, 2003
Posts: 1
|
Posted:
Wed May 28, 2003 4:30 pm |
  |
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. |
|
|
   |
 |
Maniax
Nuke Soldier


Joined: Apr 26, 2003
Posts: 14
|
Posted:
Sat Jun 28, 2003 9:10 pm |
  |
Found out how to do it myself 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
Hope it helps! |
|
|
   |
 |
552211
Sergeant


Joined: Feb 28, 2005
Posts: 140
|
Posted:
Mon May 16, 2005 9:31 am |
  |
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 |
|
   |
 |
552211
Sergeant


Joined: Feb 28, 2005
Posts: 140
|
Posted:
Thu Jun 02, 2005 10:17 am |
  |
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 |
|
   |
 |
Steptoe
Captain


Joined: Oct 10, 2004
Posts: 560
|
Posted:
Thu Jun 02, 2005 1:51 pm |
  |
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. |
|
|
    |
 |
Xyberian
Colonel


Joined: Mar 14, 2004
Posts: 1921
Location: Behind you
|
Posted:
Thu Jun 02, 2005 2:25 pm |
  |
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. |
_________________ •NukeKorea Dev. Network.
•NukeKorea Laboratories |
|
    |
 |
Steptoe
Captain


Joined: Oct 10, 2004
Posts: 560
|
Posted:
Thu Jun 02, 2005 3:58 pm |
  |
COOL!!!
the 1st changes the horozonal # collums of the smiles part
Changing to 5 or 6 doesnt distort the window too much
2nd the # vertical rows
8 seemed to work out as a good # here
the 3rd didnt seem to change anying, or I am missing something
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 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.  |
|
|
    |
 |
Xyberian
Colonel


Joined: Mar 14, 2004
Posts: 1921
Location: Behind you
|
Posted:
Thu Jun 02, 2005 4:23 pm |
  |
|
    |
 |
Steptoe
Captain


Joined: Oct 10, 2004
Posts: 560
|
Posted:
Thu Jun 02, 2005 6:00 pm |
  |
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
At least, a file name to look in....or a couple to give us an idea where to look?? |
|
|
    |
 |
552211
Sergeant


Joined: Feb 28, 2005
Posts: 140
|
Posted:
Thu Jun 02, 2005 6:48 pm |
  |
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...  |
_________________ 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 |
|
   |
 |
Xyberian
Colonel


Joined: Mar 14, 2004
Posts: 1921
Location: Behind you
|
Posted:
Thu Jun 02, 2005 7:23 pm |
  |
| 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...  |
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." |
_________________ •NukeKorea Dev. Network.
•NukeKorea Laboratories |
|
    |
 |
Xyberian
Colonel


Joined: Mar 14, 2004
Posts: 1921
Location: Behind you
|
Posted:
Thu Jun 02, 2005 7:26 pm |
  |
| 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
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. |
_________________ •NukeKorea Dev. Network.
•NukeKorea Laboratories |
|
    |
 |
Steptoe
Captain


Joined: Oct 10, 2004
Posts: 560
|
Posted:
Thu Jun 02, 2005 8:27 pm |
  |
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
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 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
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 ....I just use the default deepblue and silver themes ....with a few icons , gifs and colour #1232r4 code things changed |
|
|
    |
 |
552211
Sergeant


Joined: Feb 28, 2005
Posts: 140
|
Posted:
Fri Jun 03, 2005 7:30 am |
  |
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".......  |
_________________ 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 |
|
   |
 |
Xyberian
Colonel


Joined: Mar 14, 2004
Posts: 1921
Location: Behind you
|
Posted:
Fri Jun 03, 2005 10:12 am |
  |
| 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".......  |
Occasionally, we need a tweak of everyday life as a stupid joke. |
_________________ •NukeKorea Dev. Network.
•NukeKorea Laboratories |
|
    |
 |
|
|