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.

Forum Width Changer?

+3
Derri
Stephen-
refresh101
7 posters

Go down

In progress Forum Width Changer?

Post by refresh101 May 9th 2013, 4:45 pm

Hello AnyOne Can Tell Me About Forum Width Changer Like This One? width widget - Forum Width Changer? 118

Thank You In Advance
-Refresh101 Wink
refresh101
refresh101
Forumember

Posts : 241
Reputation : 4
Language : English

Back to top Go down

In progress Re: Forum Width Changer?

Post by refresh101 May 11th 2013, 3:30 am

Bump!! ;(
refresh101
refresh101
Forumember

Posts : 241
Reputation : 4
Language : English

Back to top Go down

In progress Re: Forum Width Changer?

Post by refresh101 May 12th 2013, 2:53 pm

2nd BUMP Sad ALREADY WAITING FOR 3 DAYS Sad
refresh101
refresh101
Forumember

Posts : 241
Reputation : 4
Language : English

Back to top Go down

In progress Re: Forum Width Changer?

Post by Stephen- May 12th 2013, 3:12 pm

Hello,

Try this:

Go to ACP >> General >> Forum >> Configuration >> Pages structure >> on there you can set you're forum's widht.

Stephen-
Stephen-
Hyperactive

Male Posts : 2542
Reputation : 326
Language :

Back to top Go down

In progress Re: Forum Width Changer?

Post by Derri May 12th 2013, 5:03 pm

refresh101 wrote:Hello AnyOne Can Tell Me About Forum Width Changer Like This One? width widget - Forum Width Changer? 118

Thank You In Advance
-Refresh101 Wink

Could you provide the link where you saw this?

Also, was this a user option e.g. all users could do this? or was this something only staff could see?

Raizen wrote:Hello,

Try this:

Go to ACP >> General >> Forum >> Configuration >> Pages structure >> on there you can set you're forum's widht.


I think he was wanting something like above, something members could control. I'm not sure though, the details were a little light.
Derri
Derri
Helper
Helper

Male Posts : 8755
Reputation : 638
Language : English & Basic French
Location : Scotland, United Kingdom

Back to top Go down

In progress Re: Forum Width Changer?

Post by refresh101 May 12th 2013, 5:23 pm

I Saw This Here http://duelacademy.net/
All User Can Saw It.
refresh101
refresh101
Forumember

Posts : 241
Reputation : 4
Language : English

Back to top Go down

In progress Re: Forum Width Changer?

Post by Ultron's Vision May 12th 2013, 5:49 pm

Code:
<script type="text/javascript">

jQuery(document).ready(function(){

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


});
</script>

<center><div style="text-align: center;"><input type=submit id="forumwidth" value="Set">
<select id="selectwidth">
  <option selected>980</option>
  <option>1050</option>
  <option>1100</option>
  <option>1200</option>
  <option>1300</option>
</select>
</div></center>

That for the Widget, one more for the mechanics behind it (add that in the JavaScript pages)...

Code:
jQuery(function(){
jQuery(window).load(function(){
if(parseInt(getKuki('bodylinewidthkuki'))==0){
jQuery("table.bodylinewidth").width(980);
}
if(parseInt(getKuki('bodylinewidthkuki'))==1){
jQuery("table.bodylinewidth").width(1050);
}
if(parseInt(getKuki('bodylinewidthkuki'))==2){
jQuery("table.bodylinewidth").width(1100);
}
if(parseInt(getKuki('bodylinewidthkuki'))==3){
jQuery("table.bodylinewidth").width(1200);
}
if(parseInt(getKuki('bodylinewidthkuki'))==4){
jQuery("table.bodylinewidth").width(1300);
}
});
});
Ultron's Vision
Ultron's Vision
Forumember

Male Posts : 634
Reputation : 45
Language : English | German | HTML | JavaScript | PHP | C++ | Perl | Java
Location : Vienna, Austria

http://duelacademy.net

Back to top Go down

In progress Re: Forum Width Changer?

Post by Sir Chivas™ May 12th 2013, 6:32 pm

Hi,

If the answer above does solve this issue, please mark your thread as solved.
Wink
Sir Chivas™
Sir Chivas™
Helper
Helper

Male Posts : 6965
Reputation : 457
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||

Back to top Go down

In progress Re: Forum Width Changer?

Post by refresh101 May 13th 2013, 4:12 am

Doesnt Work Sad There Is FOrum Width Changer But When I Change And Set Doesnt Do Anything?
refresh101
refresh101
Forumember

Posts : 241
Reputation : 4
Language : English

Back to top Go down

In progress Re: Forum Width Changer?

Post by E-Mark May 13th 2013, 4:30 am

Try this one, for the widget:
Code:
<script type="text/javascript">

jQuery(document).ready(function(){

jQuery("#forumwidth").click(function(){
var a=eval(document.getElementById("selectwidth").value);
var b=0;
jQuery("body#phpbb").animate({width:a},800, "linear");
if(a==1050){b=1;}
if(a==1100){b=2;}
if(a==1200){b=3;}
if(a==1300){b=4;}
setKuki('bodylinewidthkuki',b,365);
  });


});
</script>

<center><div style="text-align: center;"><input type=submit id="forumwidth" value="Set">
<select id="selectwidth">
  <option selected>980</option>
  <option>1050</option>
  <option>1100</option>
  <option>1200</option>
  <option>1300</option>
</select>
</div></center>
E-Mark
E-Mark
Active Poster

Male Posts : 1412
Reputation : 169
Language : English
Location : Bitcoin

http://coding-spot.darkbb.com/

Back to top Go down

In progress Re: Forum Width Changer?

Post by refresh101 May 13th 2013, 4:33 am

Okay It Works But I Dont Like When I Set It I Want When I Reduce The Forum Width The Forum Will Be Centered Thanks In Advance E-Mark Thanks For The Code Smile
refresh101
refresh101
Forumember

Posts : 241
Reputation : 4
Language : English

Back to top Go down

In progress Re: Forum Width Changer?

Post by refresh101 May 14th 2013, 11:07 am

Bump!
refresh101
refresh101
Forumember

Posts : 241
Reputation : 4
Language : English

Back to top Go down

In progress Re: Forum Width Changer?

Post by Sanket May 17th 2013, 10:10 am

Thread Garbaged, since member is banned.
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

Back to top

- Similar topics

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