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.

Remove "Action" Drop Down Menu

2 posters

Go down

Solved Remove "Action" Drop Down Menu

Post by mgt98 June 24th 2011, 5:14 am

Is there a way using either templates or CSS to remove the actions dropdown menu in a thread and category/forum section?

I have remove it off the front page but not any others.


Last edited by mgt98 on June 24th 2011, 12:12 pm; edited 1 time in total (Reason for editing : Solved. Thanks Nera.)
mgt98
mgt98
Forumember

Male Posts : 344
Reputation : 45
Language : English

Back to top Go down

Solved Re: Remove "Action" Drop Down Menu

Post by Nera. June 24th 2011, 11:13 am

Hi,

For phpBB2 go to your wievtopic_body template and remove this (this is for the action body above topics when you enter one)
Code:
 | 
            <script type="text/javascript">//<![CDATA[
               var url_favourite = '{U_FAVOURITE_JS_PLUS_MENU}';
               var url_newposts = '{U_NEWPOSTS_JS_PLUS_MENU}';
               var url_egosearch = '{U_EGOSEARCH_JS_PLUS_MENU}';
               var url_unanswered = '{U_UNANSWERED_JS_PLUS_MENU}';
               var url_watchsearch = '{U_WATCHSEARCH_JS_PLUS_MENU}';
               var url_tellfriend = '{U_TELLFRIEND_JS_PLUS_MENU}';
               insert_plus_menu('f{FORUM_ID}&amp;t={TOPIC_ID}','{JS_SESSION_ID}', {JS_AUTH_FAVOURITES});
            //]]>
            </script>

Than you will have only the share button over your topics.

And for the second from the viewforum_body this (this is for the action button in forum when you enter one)
Code:
            <script type="text/javascript">//<![CDATA[
               var url_newposts = '{U_NEWPOSTS_JS_PLUS_MENU}';
               var url_egosearch = '{U_EGOSEARCH_JS_PLUS_MENU}';
               var url_unanswered = '{U_UNANSWERED_JS_PLUS_MENU}';
               var url_watchsearch = '{U_WATCHSEARCH_JS_PLUS_MENU}';
               var url_tellfriend = '{U_TELLFRIEND_JS_PLUS_MENU}';
               insert_plus_menu('f{FORUM_ID}&amp;f={FORUM_ID}','{JS_SESSION_ID}', {JS_AUTH_FAVOURITES});
            //]]>
            </script>

Save and publish your template on the green cross.
Nera.
Nera.
Energetic

Female Posts : 7078
Reputation : 2017
Language : English
Location : -

Back to top Go down

Solved Re: Remove "Action" Drop Down Menu

Post by mgt98 June 24th 2011, 11:30 am

Thanks, that has removed it of topics, but what about when I click on a forum section, it is still there. Can I remove that too?

And, can you provide a way to remove the Share too?
mgt98
mgt98
Forumember

Male Posts : 344
Reputation : 45
Language : English

Back to top Go down

Solved Re: Remove "Action" Drop Down Menu

Post by Nera. June 24th 2011, 11:41 am

Did you remove AND PUBLISH your forumview_body template?
I've tried it and it removes the one in forums if we are talking about the same action button.

For the share remove this in viewtopic_body template
Code:
            <a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&amp;pub=forumotion">{L_SHARE}</a>

Save and publish.
Nera.
Nera.
Energetic

Female Posts : 7078
Reputation : 2017
Language : English
Location : -

Back to top Go down

Solved Re: Remove "Action" Drop Down Menu

Post by mgt98 June 24th 2011, 11:43 am

Nera. wrote:Did you remove AND PUBLISH your forumview_body template?
I've tried it and it removes the one in forums if we are talking about the same action button.
I have saved and published. I will get a screen shot of the action button I mean.
Nera. wrote:For the share remove this in viewtopic_body template
Code:
            <a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&pub=forumotion">{L_SHARE}</a>

Save and publish.
Thanks, I will try that.
mgt98
mgt98
Forumember

Male Posts : 344
Reputation : 45
Language : English

Back to top Go down

Solved Re: Remove "Action" Drop Down Menu

Post by Nera. June 24th 2011, 11:46 am

This is the one I'm talking about

Remove "Action" Drop Down Menu 6M6w
Nera.
Nera.
Energetic

Female Posts : 7078
Reputation : 2017
Language : English
Location : -

Back to top Go down

Solved Re: Remove "Action" Drop Down Menu

Post by mgt98 June 24th 2011, 11:54 am

Yeah, that one.

This is in a topic.
Spoiler:

In a forum section.
Spoiler:

I wanted both gone so don't feel bad because you removed something I didn't want.
mgt98
mgt98
Forumember

Male Posts : 344
Reputation : 45
Language : English

Back to top Go down

Solved Re: Remove "Action" Drop Down Menu

Post by Nera. June 24th 2011, 12:02 pm

I really can tell what is the problem since I've checked it one more time :S

It's the action from your viewforum_body

Code:
            <script type="text/javascript">//<![CDATA[
               var url_newposts = '{U_NEWPOSTS_JS_PLUS_MENU}';
               var url_egosearch = '{U_EGOSEARCH_JS_PLUS_MENU}';
               var url_unanswered = '{U_UNANSWERED_JS_PLUS_MENU}';
               var url_watchsearch = '{U_WATCHSEARCH_JS_PLUS_MENU}';
               var url_tellfriend = '{U_TELLFRIEND_JS_PLUS_MENU}';
               insert_plus_menu('f{FORUM_ID}&amp;f={FORUM_ID}','{JS_SESSION_ID}', {JS_AUTH_FAVOURITES});
            //]]>
            </script>

It gets removed for me.
Nera.
Nera.
Energetic

Female Posts : 7078
Reputation : 2017
Language : English
Location : -

Back to top Go down

Solved Re: Remove "Action" Drop Down Menu

Post by mgt98 June 24th 2011, 12:05 pm

Just to double check. You are taking it out of Admin Panel>Display>General>viewtopic_body , right?

I will make sure that code is out but, otherwise I dunno.
mgt98
mgt98
Forumember

Male Posts : 344
Reputation : 45
Language : English

Back to top Go down

Solved Re: Remove "Action" Drop Down Menu

Post by Nera. June 24th 2011, 12:08 pm

No affraid hah

One code has to go from
- viewtopic_body
- one from wievforum_body

I wrote you that in the first post.
Nera.
Nera.
Energetic

Female Posts : 7078
Reputation : 2017
Language : English
Location : -

Back to top Go down

Solved Re: Remove "Action" Drop Down Menu

Post by mgt98 June 24th 2011, 12:12 pm

How did I miss that? It wasn't your fault, sorry.

Marked as solved and post Thanked.
mgt98
mgt98
Forumember

Male Posts : 344
Reputation : 45
Language : English

Back to top Go down

Solved Re: Remove "Action" Drop Down Menu

Post by Nera. June 24th 2011, 12:13 pm

I was wondering what is caouing the problem hah
You welcome.

Solved ~ Locked
Nera.
Nera.
Energetic

Female Posts : 7078
Reputation : 2017
Language : English
Location : -

Back to top Go down

Back to top

- Similar topics

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