I need the html/java code for the wiget that allows users to change the forum width
+3
Nera.
Ape
Devan
7 posters
Allow members to change width of forum
Devan- Forumember
- Posts : 282
Reputation : 7
Language : English
Location : New Jersey
- Post n°1
Allow members to change width of forum
Ape- Administrator
- Posts : 19327
Reputation : 2005
Language : fluent in dork / mumbojumbo & English haha
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
Devan- Forumember
- Posts : 282
Reputation : 7
Language : English
Location : New Jersey
Uhm check the wiget on the right http://www.duelacademy.net/forum
Ape- Administrator
- Posts : 19327
Reputation : 2005
Language : fluent in dork / mumbojumbo & English haha
Wow i stand corrected lol you could pm the admin there and ask or maybe LGforum could help out on this one
Devan- Forumember
- Posts : 282
Reputation : 7
Language : English
Location : New Jersey
Link to LGForums?
Devan- Forumember
- Posts : 282
Reputation : 7
Language : English
Location : New Jersey
Thank you Rideem and Thank you APE for helping
Nera.- Energetic
- Posts : 7078
Reputation : 2017
Language : English
Location : -
Devan is this solved?
Devan- Forumember
- Posts : 282
Reputation : 7
Language : English
Location : New Jersey
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
Devan- Forumember
- Posts : 282
Reputation : 7
Language : English
Location : New Jersey
Alright
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
- Post n°10
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
Devan- Forumember
- Posts : 282
Reputation : 7
Language : English
Location : New Jersey
- Post n°11
Re: Allow members to change width of forum
Hm doesnt work and I have phpbb3 (prety sure)
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
- Post n°12
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.
Devan- Forumember
- Posts : 282
Reputation : 7
Language : English
Location : New Jersey
- Post n°13
Re: Allow members to change width of forum
Hm doesnt work and i rechecked and ye i have phbb2 not 3-.- sorry
Devan- Forumember
- Posts : 282
Reputation : 7
Language : English
Location : New Jersey
- Post n°14
Re: Allow members to change width of forum
Hm so?
Tonight- Forumember
- Posts : 312
Reputation : 80
Language : Estonian, English, Russian
Location : Estonia
- Post n°15
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);
});
});
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
- Post n°16
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.
kirk- Forumaster
- Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn
- Post n°17
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
Devan- Forumember
- Posts : 282
Reputation : 7
Language : English
Location : New Jersey
- Post n°18
Re: Allow members to change width of forum
Thxs guys you may lock the topic
Jophy- ForumGuru
- Posts : 17922
Reputation : 836
Language : English
Location : Somewhere
- Post n°19
Re: Allow members to change width of forum
Topic Solved & Locked |
Jophy