The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Allow members to change width of forum

+3
Nera.
Ape
Devan
7 posters

Go down

Solved Allow members to change width of forum

Post by Devan June 6th 2012, 02:59

I need the html/java code for the wiget that allows users to change the forum width
Devan
Devan
Forumember

Male Posts : 282
Reputation : 7
Language : English
Location : New Jersey

http://yugioh-universe.findforum.net/

Back to top Go down

Solved Re: Allow members to change width of forum

Post by Ape June 6th 2012, 03:04

Sorry but we can not change the size of the forum for each member
we just don't have the settings sorry


Allow members to change width of forum Left1212Allow members to change width of forum Center11Allow members to change width of forum Right112
Allow members to change width of forum Ape_b110
Allow members to change width of forum Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 19075
Reputation : 1988
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: Allow members to change width of forum

Post by Devan June 6th 2012, 03:08

Uhm check the wiget on the right http://www.duelacademy.net/forum
Devan
Devan
Forumember

Male Posts : 282
Reputation : 7
Language : English
Location : New Jersey

http://yugioh-universe.findforum.net/

Back to top Go down

Solved Re: Allow members to change width of forum

Post by Ape June 6th 2012, 03:28

Wow i stand corrected lol you could pm the admin there and ask or maybe LGforum could help out on this one Wink


Allow members to change width of forum Left1212Allow members to change width of forum Center11Allow members to change width of forum Right112
Allow members to change width of forum Ape_b110
Allow members to change width of forum Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 19075
Reputation : 1988
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: Allow members to change width of forum

Post by Devan June 6th 2012, 03:40

Link to LGForums?
Devan
Devan
Forumember

Male Posts : 282
Reputation : 7
Language : English
Location : New Jersey

http://yugioh-universe.findforum.net/

Back to top Go down

Solved Re: Allow members to change width of forum

Post by Devan June 6th 2012, 14:37

Thank you Rideem and Thank you APE for helping
Devan
Devan
Forumember

Male Posts : 282
Reputation : 7
Language : English
Location : New Jersey

http://yugioh-universe.findforum.net/

Back to top Go down

Solved Re: Allow members to change width of forum

Post by Nera. June 6th 2012, 14:39

Devan is this solved?
Nera.
Nera.
Energetic

Female Posts : 7078
Reputation : 2017
Language : English
Location : -

Back to top Go down

Solved Re: Allow members to change width of forum

Post by Devan June 6th 2012, 14:42

Not realy, idk why but it's moving to right and left and center beside actually changing the size
maybe its changing the whole sites width? i think i wanted the forums width
http://www.duelacademy.net/forum <<if you change width there the forum size changes
Devan
Devan
Forumember

Male Posts : 282
Reputation : 7
Language : English
Location : New Jersey

http://yugioh-universe.findforum.net/

Back to top Go down

Solved Re: Allow members to change width of forum

Post by Devan June 6th 2012, 20:24

Alright
Devan
Devan
Forumember

Male Posts : 282
Reputation : 7
Language : English
Location : New Jersey

http://yugioh-universe.findforum.net/

Back to top Go down

Solved Re: Allow members to change width of forum

Post by LGforum June 6th 2012, 23:37

Here's the fixed version of Rideems. He's going away, so I've got it for him lol.

Code:

<select id="body_font"><option value="1000px">1000px</option><option value="500px">500px</option></select> <input type="button" onClick="setWidth(document.getElementById('body_font').value)" value="Change Width" />
<script type="text/javascript">
function setWidth(val) {
  document.getElementById('main').style.width = val;
  my_setcookie('body_width', val, true);
}
if(my_getcookie('body_width')) setWidth(my_getcookie('body_width'));
</script>

Note that this is a simple version. It won't perform the smooth animation or anything.
It also may not work since I don't know anything about phpbb2 and refuse to look at its ugliness Razz
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Solved Re: Allow members to change width of forum

Post by Devan June 6th 2012, 23:50

Hm doesnt work and I have phpbb3 (prety sure)
Devan
Devan
Forumember

Male Posts : 282
Reputation : 7
Language : English
Location : New Jersey

http://yugioh-universe.findforum.net/

Back to top Go down

Solved Re: Allow members to change width of forum

Post by LGforum June 7th 2012, 00:18

If you use phpbb3 (your profile says phpbb2) then use this:
Code:

<select id="body_font"><option value="1000">1000px</option><option value="500">500px</option></select> <input type="button" onClick="setWidth(document.getElementById('body_font').value)" value="Change Width" />
<script type="text/javascript">
function setWidth(val) {
  document.getElementById('wrap').style.width = val+'px';
  my_setcookie('body_width', val, true);
}
if(my_getcookie('body_width')) setWidth(my_getcookie('body_width'));
</script>
(You may have to clear your cookies in order to try this)

This is such an odd thing to do. Fixed widths are bad enough as it is.
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Solved Re: Allow members to change width of forum

Post by Devan June 7th 2012, 01:26

Hm doesnt work and i rechecked and ye i have phbb2 not 3-.- sorry
Devan
Devan
Forumember

Male Posts : 282
Reputation : 7
Language : English
Location : New Jersey

http://yugioh-universe.findforum.net/

Back to top Go down

Solved Re: Allow members to change width of forum

Post by Devan June 8th 2012, 22:20

Hm so?
Devan
Devan
Forumember

Male Posts : 282
Reputation : 7
Language : English
Location : New Jersey

http://yugioh-universe.findforum.net/

Back to top Go down

Solved Re: Allow members to change width of forum

Post by Tonight June 8th 2012, 22:46

Code:
jQuery(document).ready(function(){

jQuery("#posaljiwidth").click(function(){
var a=eval(document.getElementById("selektwidth").value);
var b=0;
jQuery("table.bodylinewidth").animate({width:a},800, "linear");
if(a==1000){b=1;}
if(a==1100){b=2;}
if(a==1200){b=3;}
if(a==1300){b=4;}
if(a==1400){b=5;}
setKuki('bodylinewidthkuki',b,365);
  });


});
Should be Javascript.
Tonight
Tonight
Forumember

Male Posts : 312
Reputation : 80
Language : Estonian, English, Russian
Location : Estonia

Back to top Go down

Solved Re: Allow members to change width of forum

Post by LGforum June 8th 2012, 22:58

That won't work. For a number of reasons.

The code I provided was for phpbb3. I don't plan on looking at phpbb2. You could wait for Rideem3 to come back... maybe he'll be willing to look.
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Solved Re: Allow members to change width of forum

Post by kirk June 8th 2012, 23:28

Lol what's next free beer and pretzels.

Nice work guys. Just when you think you seen it all thumright
kirk
kirk
Forumaster

Male Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Solved Re: Allow members to change width of forum

Post by Devan June 9th 2012, 23:49

Thxs guys you may lock the topic
Devan
Devan
Forumember

Male Posts : 282
Reputation : 7
Language : English
Location : New Jersey

http://yugioh-universe.findforum.net/

Back to top Go down

Solved Re: Allow members to change width of forum

Post by Jophy June 10th 2012, 07:15

Topic Solved & Locked

Allow members to change width of forum Modera10
Jophy
Jophy
Jophy
ForumGuru

Male Posts : 17924
Reputation : 836
Language : English
Location : Somewhere

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum