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.

widge only on home page hide on other places

3 posters

Go down

widge only on home page hide on other places Empty widge only on home page hide on other places

Post by XXXIII 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
avatar
XXXIII
Forumember

Male Posts : 69
Reputation : 1
Language : English

Back to top Go down

widge only on home page hide on other places Empty Re: widge only on home page hide on other places

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

I want too Very Happy faisal
Tamim Iqbal
Tamim Iqbal
Forumember

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

Back to top Go down

widge only on home page hide on other places Empty Re: widge only on home page hide on other places

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

bump
avatar
XXXIII
Forumember

Male Posts : 69
Reputation : 1
Language : English

Back to top Go down

widge only on home page hide on other places Empty Re: widge only on home page hide on other places

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

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

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

Back to top Go down

widge only on home page hide on other places Empty Re: widge only on home page hide on other places

Post by XXXIII 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
avatar
XXXIII
Forumember

Male Posts : 69
Reputation : 1
Language : English

Back to top Go down

widge only on home page hide on other places Empty Re: widge only on home page hide on other places

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

You must click the widge only on home page hide on other places Editer to add the code i gave.

widge only on home page hide on other places Haha10
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

widge only on home page hide on other places Empty Re: widge only on home page hide on other places

Post by XXXIII 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
avatar
XXXIII
Forumember

Male Posts : 69
Reputation : 1
Language : English

Back to top Go down

widge only on home page hide on other places Empty Re: widge only on home page hide on other places

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

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

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

Back to top Go down

widge only on home page hide on other places Empty Re: widge only on home page hide on other places

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

i not found where in Display please show screnshot Sad
avatar
XXXIII
Forumember

Male Posts : 69
Reputation : 1
Language : English

Back to top Go down

widge only on home page hide on other places Empty Re: widge only on home page hide on other places

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

Again, are you the creator/main administrator of the forum or you're just a staff?
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

widge only on home page hide on other places Empty Re: widge only on home page hide on other places

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

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

Male Posts : 69
Reputation : 1
Language : English

Back to top Go down

widge only on home page hide on other places Empty Re: widge only on home page hide on other places

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

OK Razz. Then reply if there's something wrong again Smile.
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

widge only on home page hide on other places Empty Re: widge only on home page hide on other places

Post by XXXIII 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 ?
avatar
XXXIII
Forumember

Male Posts : 69
Reputation : 1
Language : English

Back to top Go down

widge only on home page hide on other places Empty Re: widge only on home page hide on other places

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

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

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

Back to top Go down

widge only on home page hide on other places Empty Re: widge only on home page hide on other places

Post by XXXIII 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>

avatar
XXXIII
Forumember

Male Posts : 69
Reputation : 1
Language : English

Back to top Go down

widge only on home page hide on other places Empty Re: widge only on home page hide on other places

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

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

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

Back to top Go down

widge only on home page hide on other places Empty Re: widge only on home page hide on other places

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

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

Male Posts : 69
Reputation : 1
Language : English

Back to top Go down

widge only on home page hide on other places Empty Re: widge only on home page hide on other places

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

What's your forum url? I'll check it for you.
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

widge only on home page hide on other places Empty Re: widge only on home page hide on other places

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

avatar
XXXIII
Forumember

Male Posts : 69
Reputation : 1
Language : English

Back to top Go down

widge only on home page hide on other places Empty Re: widge only on home page hide on other places

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

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

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

Back to top Go down

widge only on home page hide on other places Empty Re: widge only on home page hide on other places

Post by XXXIII 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
avatar
XXXIII
Forumember

Male Posts : 69
Reputation : 1
Language : English

Back to top Go down

widge only on home page hide on other places Empty Re: widge only on home page hide on other places

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

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

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

Back to top Go down

widge only on home page hide on other places Empty Re: widge only on home page hide on other places

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

E-MARK please check your msg Inbox.
Tamim Iqbal
Tamim Iqbal
Forumember

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

Back to top Go down

Back to top


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