The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Forum Width Changer?

View previous topic View next topic Go down

In progress Forum Width Changer?

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

Hello AnyOne Can Tell Me About Forum Width Changer Like This One?

Thank You In Advance
-Refresh101 Wink

refresh101
Forumember

Posts : 241
Reputation : 4
Language : English

Back to top Go down

In progress Re: Forum Width Changer?

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

Bump!! ;(

refresh101
Forumember

Posts : 241
Reputation : 4
Language : English

Back to top Go down

In progress Re: Forum Width Changer?

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

2nd BUMP Sad ALREADY WAITING FOR 3 DAYS Sad

refresh101
Forumember

Posts : 241
Reputation : 4
Language : English

Back to top Go down

In progress Re: Forum Width Changer?

Post by Darkel on 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.


Darkel
Hyperactive

Male Posts : 2186
Reputation : 272
Language : English, Tagalog
Location : Philippines

Back to top Go down

In progress Re: Forum Width Changer?

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

@refresh101 wrote:Hello AnyOne Can Tell Me About Forum Width Changer Like This One?

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
Administrator
Administrator

Male Posts : 8385
Reputation : 576
Language : English & Basic French
Location : Scotland, United Kingdom

Back to top Go down

In progress Re: Forum Width Changer?

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

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

refresh101
Forumember

Posts : 241
Reputation : 4
Language : English

Back to top Go down

In progress Re: Forum Width Changer?

Post by Ultron's Vision on 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
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™ on May 12th 2013, 6:32 pm

Hi,

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



Attention!
- Please provide your forum URL at all times.
- When the issue is solved, please mark it as solved.



Sir Chivas™
Support Moderator
Support Moderator

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

Back to top Go down

In progress Re: Forum Width Changer?

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

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

refresh101
Forumember

Posts : 241
Reputation : 4
Language : English

Back to top Go down

In progress Re: Forum Width Changer?

Post by E-Mark on 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
Active Poster

Male Posts : 1389
Reputation : 164
Language : English, Tagalog
Location : Republic of the Philippines

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

Back to top Go down

In progress Re: Forum Width Changer?

Post by refresh101 on 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
Forumember

Posts : 241
Reputation : 4
Language : English

Back to top Go down

In progress Re: Forum Width Changer?

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

Bump!

refresh101
Forumember

Posts : 241
Reputation : 4
Language : English

Back to top Go down

In progress Re: Forum Width Changer?

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

Thread Garbaged, since member is banned.

Sanket
ForumGuru

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

http://webartzforum.com

Back to top Go down

View previous topic View next topic Back to top


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