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.

widge only on home page hide on other places

View previous topic View next topic Go down

widge only on home page hide on other places

Post by XXXIII on April 2nd 2013, 1:26 pm

hi, i want my forum widge not show when some 1 open any latest topic, i want widge show on home page only not on other pages
i m using phpbb2

XXXIII
Forumember

Male Posts : 69
Reputation : 1
Language : English

Back to top Go down

Re: widge only on home page hide on other places

Post by Tamim Iqbal on April 2nd 2013, 2:08 pm

I want too Very Happy faisal

Tamim Iqbal
Forumember

Male Posts : 83
Reputation : 1
Language : English
Location : Forumotion

Back to top Go down

Re: widge only on home page hide on other places

Post by XXXIII on April 3rd 2013, 7:53 pm

bump

XXXIII
Forumember

Male Posts : 69
Reputation : 1
Language : English

Back to top Go down

Re: widge only on home page hide on other places

Post by E-Mark on April 3rd 2013, 8:03 pm

OK, give this a try. (Works only in the list of topic and the topic page)

Go to ACP > Display > Templates > General > viewtopic_body: (Add this at the very end of the code)

Code:
<style>
  #content-container #left {
  width:0px;
  visibility: hidden;
  }
</style>

Do the same on the topic_list_box template.
Then both save! Razz

NOTE: If you're using the widget on the left side of the forum, use the code given above. If you're using the widget on the right side of the forum, use this code instead of the code given above:

Code:
#content-container #right {
  width:0px;
  visibility: hidden;
  }
</style>

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

Re: widge only on home page hide on other places

Post by XXXIII on April 3rd 2013, 8:25 pm

@E-Mark wrote:OK, give this a try. (Works only in the list of topic and the topic page)

Go to ACP > Display > Templates > General > viewtopic_body: (Add this at the very end of the code)

Code:
<style>
  #content-container #left {
  width:0px;
  visibility: hidden;
  }
</style>

Do the same on the topic_list_box template.
Then both save! Razz

NOTE: If you're using the widget on the left side of the forum, use the code given above. If you're using the widget on the right side of the forum, use this code instead of the code given above:

Code:
#content-container #right {
  width:0px;
  visibility: hidden;
  }
</style>
i dont see any option of templates in display im using phpbb2

XXXIII
Forumember

Male Posts : 69
Reputation : 1
Language : English

Back to top Go down

Re: widge only on home page hide on other places

Post by E-Mark on April 3rd 2013, 8:29 pm

You must click the to add the code i gave.


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

Re: widge only on home page hide on other places

Post by XXXIII on April 3rd 2013, 8:35 pm

yes i understand but i already told u i didnt see template option in ACP ~ Display bez i am using phpbb2, template option visible for phpbb3 only

XXXIII
Forumember

Male Posts : 69
Reputation : 1
Language : English

Back to top Go down

Re: widge only on home page hide on other places

Post by E-Mark on April 3rd 2013, 8:38 pm

LOL. Templates are visible to PunBB and Phpbb2.
Phpbb3 and Invision can't edit the templates.

Now, if you don't see the Templates category in Display tab, that means you're not the founder of the forum you want to apply those codes with, right?

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

Re: widge only on home page hide on other places

Post by XXXIII on April 3rd 2013, 8:40 pm

i not found where in Display please show screnshot Sad

XXXIII
Forumember

Male Posts : 69
Reputation : 1
Language : English

Back to top Go down

Re: widge only on home page hide on other places

Post by E-Mark on April 3rd 2013, 8:52 pm

Again, are you the creator/main administrator of the forum or you're just a staff?

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

Re: widge only on home page hide on other places

Post by XXXIII on April 3rd 2013, 8:56 pm

opps i m using 2nd admin group id wait i came from admin id my mistake

XXXIII
Forumember

Male Posts : 69
Reputation : 1
Language : English

Back to top Go down

Re: widge only on home page hide on other places

Post by E-Mark on April 3rd 2013, 8:59 pm

OK Razz. Then reply if there's something wrong again Smile.

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

Re: widge only on home page hide on other places

Post by XXXIII on April 3rd 2013, 9:05 pm

oh i cant add the codes from mobile when i came from pc i try it, and what do u mean at the end of every code ? I put the this code in top or at last in end ? And if i want just hide the widge in post neither in topic than what should i do ?

XXXIII
Forumember

Male Posts : 69
Reputation : 1
Language : English

Back to top Go down

Re: widge only on home page hide on other places

Post by E-Mark on April 3rd 2013, 9:23 pm

If you want to hide the widget in the post, then try to put those codes in the sections i'd mention, because there's no other option to hide widgets but to use css.

You can either put the code i gave in the very top or in the very end of the code. It doesn't really matter. Then after adding the codes, save it by clicking the '+' image.

Razz Hello

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

Re: widge only on home page hide on other places

Post by XXXIII on April 3rd 2013, 9:35 pm

if i put this code in
ACP > Display > Templates > General > viewtopic_body: than everything b ok ? After that widge hide in post ? Or puting on both r necessry ?

Code:
<style>
  #content-container #left {
  width:0px;
  visibility: hidden;
  }
</style>


XXXIII
Forumember

Male Posts : 69
Reputation : 1
Language : English

Back to top Go down

Re: widge only on home page hide on other places

Post by E-Mark on April 3rd 2013, 9:37 pm

If you want to hide the widget on the post only, then put it only inside the viewtopic_body.

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

Re: widge only on home page hide on other places

Post by XXXIII on April 3rd 2013, 9:40 pm

thanks brother i cheak it tomoro when i came 4rm pc thanks 4 helping me

XXXIII
Forumember

Male Posts : 69
Reputation : 1
Language : English

Back to top Go down

Re: widge only on home page hide on other places

Post by E-Mark on April 3rd 2013, 9:45 pm

What's your forum url? I'll check it for you.

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

Re: widge only on home page hide on other places

Post by XXXIII on April 3rd 2013, 9:48 pm


XXXIII
Forumember

Male Posts : 69
Reputation : 1
Language : English

Back to top Go down

Re: widge only on home page hide on other places

Post by E-Mark on April 3rd 2013, 9:53 pm

I still see it, did you save it? Then click the "+" icon?
Or if you don't mind, paste here your viewtopic_body (copy all the codes then paste) and i'll check if there's something wrong


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

Re: widge only on home page hide on other places

Post by XXXIII on April 3rd 2013, 10:02 pm

i tel u bro,i m from mob and from mob i cant add or copy the codes etc

XXXIII
Forumember

Male Posts : 69
Reputation : 1
Language : English

Back to top Go down

Re: widge only on home page hide on other places

Post by E-Mark on April 3rd 2013, 10:03 pm

O, lol. Forgot.
If you want i can do it for you, just PM me your admin account details.

OR
Just try to do all again what i said using your PC. So there will be no problem Wink.

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

Re: widge only on home page hide on other places

Post by Tamim Iqbal on April 3rd 2013, 10:21 pm

E-MARK please check your msg Inbox.

Tamim Iqbal
Forumember

Male Posts : 83
Reputation : 1
Language : English
Location : Forumotion

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