I need to change the location of the forum`s description.(see the S.S for more info)..

Go down

I need to change the location of the forum`s description.(see the S.S for more info)..

Post by farhaz.butt.33 on Sun Jan 24, 2016 3:22 pm

Technical Details


Forum version : #phpBB2
Position : Founder
Concerned browser(s) : Mozilla Firefox, Google Chrome, Internet Explorer, Opera, Safari, Other
Screenshot of problem : (http://i68.servimg.com/u/f68/19/09/35/48/want_t10.png) , (http://i68.servimg.com/u/f68/19/09/35/48/want_h10.png)
Who the problem concerns : All members
Forum link : http://lt-rp.forumur.net

Description of problem

Hello,

I want to move the forum`s description inside the forum..(see the attached screen shots for more info) plzz help me guys
avatar
farhaz.butt.33
New Member

Posts : 13
Reputation : 1
Language : English

http://lt-rp.forumur.net

Back to top Go down

Re: I need to change the location of the forum`s description.(see the S.S for more info)..

Post by SLGray on Sun Jan 24, 2016 3:26 pm

AP > General > Forum > Categories & Forums
Modify the ones you want and add the  information in the forum description box.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 43082
Reputation : 3049
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Re: I need to change the location of the forum`s description.(see the S.S for more info)..

Post by farhaz.butt.33 on Sun Jan 24, 2016 3:31 pm

@SLGray wrote:AP > General > Forum > Categories & Forums
Modify the ones you want and add the  information in the forum description box.

Thanks for the quick response but i want to change the location of the forum`s description.. see the screen shots..
  1. http://i68.servimg.com/u/f68/19/09/35/48/want_t10.png
  2. http://i68.servimg.com/u/f68/19/09/35/48/want_h10.png


Last edited by farhaz.butt.33 on Sun Jan 24, 2016 3:39 pm; edited 1 time in total (Reason for editing : Adding the link of S.Ss)
avatar
farhaz.butt.33
New Member

Posts : 13
Reputation : 1
Language : English

http://lt-rp.forumur.net

Back to top Go down

Re: I need to change the location of the forum`s description.(see the S.S for more info)..

Post by SLGray on Sun Jan 24, 2016 3:41 pm

So you want the forum's description to be near the date information?


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 43082
Reputation : 3049
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Re: I need to change the location of the forum`s description.(see the S.S for more info)..

Post by farhaz.butt.33 on Sun Jan 24, 2016 3:44 pm

@SLGray wrote:So you want the forum's description to be near the date information?

Yes, or somewhere else, but i want it inside that forum.
avatar
farhaz.butt.33
New Member

Posts : 13
Reputation : 1
Language : English

http://lt-rp.forumur.net

Back to top Go down

Re: I need to change the location of the forum`s description.(see the S.S for more info)..

Post by farhaz.butt.33 on Mon Jan 25, 2016 3:55 am

plzzz help me,
anyone???

@SLGray help me plzz, I know you can help me..
avatar
farhaz.butt.33
New Member

Posts : 13
Reputation : 1
Language : English

http://lt-rp.forumur.net

Back to top Go down

Re: I need to change the location of the forum`s description.(see the S.S for more info)..

Post by farhaz.butt.33 on Fri Jan 29, 2016 1:35 am

bump!!
avatar
farhaz.butt.33
New Member

Posts : 13
Reputation : 1
Language : English

http://lt-rp.forumur.net

Back to top Go down

Re: I need to change the location of the forum`s description.(see the S.S for more info)..

Post by 10spetter10 on Fri Jan 29, 2016 5:29 am

My guess is that you can't change this with template modifications, so it needs to be done with js. I'm not the best with js but this seems to work (placing on the subforums):

Code:
$(function() {
  var storage = window.localStorage;
  var cacheTime = 24*60*60*1000;
 
  // controleer of storage bestaat
  if (storage.forumDesc && storage.forumDescExp > +new Date - cacheTime) addDescription();
  else loadDescription();
 
  function addDescription() {
      $('body').append('<div id="temp2">'+storage.forumDesc+'</div>');
      var id = $(location).attr('pathname').substring(1).split('-');
      $('#plus_menu').closest('table').after('<div id="forumdesc"></div>');
      $('#forumdesc').html($('#temp2 #'+id).text());
      $('#temp2').remove();
  };
 
  function loadDescription() {
      $('body').append('<div id="temp"></div><div id="storage"></div>');   
      $('#temp').load('/forum .hierarchy a, .hierarchy + .genmed',function(){
        $('#temp > a').each(function(){
        var url = $(this).attr('href').substring(1).split('-');
        var id = url[0];
        $('#storage').append('<span id="'+ $(this).attr('href').substring(1).split('-')[0] +'">'+$(this).next().text()+'</span>');
        });
        if (storage) storage.forumDesc = $('#storage').html(), storage.forumDescExp = +new Date;
    $('#temp, #storage').remove();
    addDescription();
      });
  };
});

There might be a more efficient way but then again, I'm not super with js.

You can edit the box of the description with this tag in css:
Code:
#forumdesc
.
avatar
10spetter10
Forumember

Posts : 195
Reputation : 82
Language : Dutch

Back to top Go down

Re: I need to change the location of the forum`s description.(see the S.S for more info)..

Post by farhaz.butt.33 on Fri Jan 29, 2016 4:12 pm

@10spetter10 wrote:My guess is that you can't change this with template modifications, so it needs to be done with js. I'm not the best with js but this seems to work (placing on the subforums):

Code:
$(function() {
  var storage = window.localStorage;
  var cacheTime = 24*60*60*1000;
 
  // controleer of storage bestaat
  if (storage.forumDesc && storage.forumDescExp > +new Date - cacheTime) addDescription();
  else loadDescription();
 
  function addDescription() {
      $('body').append('<div id="temp2">'+storage.forumDesc+'</div>');
      var id = $(location).attr('pathname').substring(1).split('-');
      $('#plus_menu').closest('table').after('<div id="forumdesc"></div>');
      $('#forumdesc').html($('#temp2 #'+id).text());
      $('#temp2').remove();
  };
 
  function loadDescription() {
      $('body').append('<div id="temp"></div><div id="storage"></div>');   
      $('#temp').load('/forum .hierarchy a, .hierarchy + .genmed',function(){
        $('#temp > a').each(function(){
        var url = $(this).attr('href').substring(1).split('-');
        var id = url[0];
        $('#storage').append('<span id="'+ $(this).attr('href').substring(1).split('-')[0] +'">'+$(this).next().text()+'</span>');
        });
        if (storage) storage.forumDesc = $('#storage').html(), storage.forumDescExp = +new Date;
    $('#temp, #storage').remove();
    addDescription();
      });
  };
});

There might be a more efficient way but then again, I'm not super with js.

You can edit the box of the description with this tag in css:
Code:
#forumdesc
.

Not working Sad


plzzzz help me guys Sad
avatar
farhaz.butt.33
New Member

Posts : 13
Reputation : 1
Language : English

http://lt-rp.forumur.net

Back to top Go down

Re: I need to change the location of the forum`s description.(see the S.S for more info)..

Post by brandon_g on Fri Jan 29, 2016 4:48 pm

@farhaz.butt.33 wrote:
@10spetter10 wrote:My guess is that you can't change this with template modifications, so it needs to be done with js. I'm not the best with js but this seems to work (placing on the subforums):

Code:
$(function() {
   var storage = window.localStorage;
   var cacheTime = 24*60*60*1000;
  
   // controleer of storage bestaat
   if (storage.forumDesc && storage.forumDescExp > +new Date - cacheTime) addDescription();
   else loadDescription();
  
   function addDescription() {
      $('body').append('<div id="temp2">'+storage.forumDesc+'</div>');
      var id = $(location).attr('pathname').substring(1).split('-');
      $('#plus_menu').closest('table').after('<div id="forumdesc"></div>');
      $('#forumdesc').html($('#temp2 #'+id).text());
      $('#temp2').remove();
   };
  
   function loadDescription() {
      $('body').append('<div id="temp"></div><div id="storage"></div>');   
      $('#temp').load('/forum .hierarchy a, .hierarchy + .genmed',function(){
         $('#temp > a').each(function(){
         var url = $(this).attr('href').substring(1).split('-');
         var id = url[0];
         $('#storage').append('<span id="'+ $(this).attr('href').substring(1).split('-')[0] +'">'+$(this).next().text()+'</span>');
         });
         if (storage) storage.forumDesc = $('#storage').html(), storage.forumDescExp = +new Date;
    $('#temp, #storage').remove();
    addDescription();
      });
   };
});

There might be a more efficient way but then again, I'm not super with js.

You can edit the box of the description with this tag in css:
Code:
#forumdesc
.

Not working Sad


plzzzz help me guys Sad

Please do not use bold or colored, as this is reserved for moderation purposes, please be sure to read the rules so you can prevent breaking the rules in the future. Thanks ~ brandon_g


Remember to mark your topic when a solution is found.
avatar
brandon_g
Support Moderator
Support Moderator

Male Posts : 6746
Reputation : 616
Language : English
Location : USA

http://broadcastingduo.forumotion.com/

Back to top Go down

Re: I need to change the location of the forum`s description.(see the S.S for more info)..

Post by farhaz.butt.33 on Sun Jan 31, 2016 3:03 pm

@brandon_g wrote:
@farhaz.butt.33 wrote:
@10spetter10 wrote:My guess is that you can't change this with template modifications, so it needs to be done with js. I'm not the best with js but this seems to work (placing on the subforums):

Code:
$(function() {
   var storage = window.localStorage;
   var cacheTime = 24*60*60*1000;
  
   // controleer of storage bestaat
   if (storage.forumDesc && storage.forumDescExp > +new Date - cacheTime) addDescription();
   else loadDescription();
  
   function addDescription() {
      $('body').append('<div id="temp2">'+storage.forumDesc+'</div>');
      var id = $(location).attr('pathname').substring(1).split('-');
      $('#plus_menu').closest('table').after('<div id="forumdesc"></div>');
      $('#forumdesc').html($('#temp2 #'+id).text());
      $('#temp2').remove();
   };
  
   function loadDescription() {
      $('body').append('<div id="temp"></div><div id="storage"></div>');   
      $('#temp').load('/forum .hierarchy a, .hierarchy + .genmed',function(){
         $('#temp > a').each(function(){
         var url = $(this).attr('href').substring(1).split('-');
         var id = url[0];
         $('#storage').append('<span id="'+ $(this).attr('href').substring(1).split('-')[0] +'">'+$(this).next().text()+'</span>');
         });
         if (storage) storage.forumDesc = $('#storage').html(), storage.forumDescExp = +new Date;
    $('#temp, #storage').remove();
    addDescription();
      });
   };
});

There might be a more efficient way but then again, I'm not super with js.

You can edit the box of the description with this tag in css:
Code:
#forumdesc
.

Not working Sad


plzzzz help me guys Sad

Please do not use bold or colored, as this is reserved for moderation purposes, please be sure to read the rules so you can prevent breaking the rules in the future. Thanks ~ brandon_g

sorry, but can you help me?
avatar
farhaz.butt.33
New Member

Posts : 13
Reputation : 1
Language : English

http://lt-rp.forumur.net

Back to top Go down

Re: I need to change the location of the forum`s description.(see the S.S for more info)..

Post by farhaz.butt.33 on Tue Feb 02, 2016 8:23 am

Bump Sad
avatar
farhaz.butt.33
New Member

Posts : 13
Reputation : 1
Language : English

http://lt-rp.forumur.net

Back to top Go down

Re: I need to change the location of the forum`s description.(see the S.S for more info)..

Post by farhaz.butt.33 on Sun Feb 07, 2016 3:29 pm

Bump!!!!
avatar
farhaz.butt.33
New Member

Posts : 13
Reputation : 1
Language : English

http://lt-rp.forumur.net

Back to top Go down

Re: I need to change the location of the forum`s description.(see the S.S for more info)..

Post by farhaz.butt.33 on Sun Feb 07, 2016 3:29 pm

Bump
avatar
farhaz.butt.33
New Member

Posts : 13
Reputation : 1
Language : English

http://lt-rp.forumur.net

Back to top Go down

Re: I need to change the location of the forum`s description.(see the S.S for more info)..

Post by SLGray on Sun Feb 07, 2016 4:40 pm

@farhaz.butt.33 wrote:Bump!!!!

@farhaz.butt.33 wrote:Bump
Second Reminder:

Please don't double post. Your post needs to be separated by at least 24 hours before bumping. Please use the edit button instead!


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 43082
Reputation : 3049
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Back to top


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