Allow members to change width of forum
+3
Nera.
Ape
Devan
7 posters
Page 1 of 1
Allow members to change width of forum
I need the html/java code for the wiget that allows users to change the forum width
Re: Allow members to change width of forum
Sorry but we can not change the size of the forum for each member
we just don't have the settings sorry
we just don't have the settings sorry
Re: Allow members to change width of forum
Uhm check the wiget on the right http://www.duelacademy.net/forum
Re: Allow members to change width of forum
Wow i stand corrected lol you could pm the admin there and ask or maybe LGforum could help out on this one
Re: Allow members to change width of forum
Devan is this solved?
Nera.- Energetic
- Posts : 7078
Reputation : 2017
Language : English
Location : -
Re: Allow members to change width of forum
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
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
Re: Allow members to change width of forum
Here's the fixed version of Rideems. He's going away, so I've got it for him lol.
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
- 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
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Allow members to change width of forum
If you use phpbb3 (your profile says phpbb2) then use this:
This is such an odd thing to do. Fixed widths are bad enough as it is.
- 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>
This is such an odd thing to do. Fixed widths are bad enough as it is.
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Allow members to change width of forum
Hm doesnt work and i rechecked and ye i have phbb2 not 3-.- sorry
Re: Allow members to change width of forum
- 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);
});
});
Tonight- Forumember
- Posts : 312
Reputation : 80
Language : Estonian, English, Russian
Location : Estonia
Re: Allow members to change width of forum
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.
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- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Allow members to change width of forum
Lol what's next free beer and pretzels.
Nice work guys. Just when you think you seen it all
Nice work guys. Just when you think you seen it all
kirk- Forumaster
- Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn
Re: Allow members to change width of forum
Topic Solved & Locked |
Jophy
Jophy- ForumGuru
- Posts : 17924
Reputation : 836
Language : English
Location : Somewhere
Similar topics
» How to make Invision forum-template "wider"?
» How to change the width of the forum?
» How to change width of forum
» I can't change the forum width.
» how can i change the width off my forum?
» How to change the width of the forum?
» How to change width of forum
» I can't change the forum width.
» how can i change the width off my forum?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum