I want another "Quick links" menu

For support and discussion related to templates and themes in phpBB 3.3.
Post Reply
User avatar
AbuHossam
Registered User
Posts: 295
Joined: Sun Sep 02, 2018 7:24 am

I want another "Quick links" menu

Post by AbuHossam »

Hello folks
Please, I want another "Quick links" menu.
2023-06-09_173459.jpg
I'll change his links..
+ I want all links appear for visitors and bots.

Yes, you know, all of this:
search.php?search_id=unreadposts
search.php?search_id=newposts
search.php?search_id=egosearch

NOT appear for visitors and bots..

TIA
Sorry, I'm using google translate. Try to understand the meaning of my words.
User avatar
KevC
Support Team Member
Support Team Member
Posts: 72352
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: I want another "Quick links" menu

Post by KevC »

I suspect they're not there because the difficulty with that is how do you tell one visitor from another in terms of what they have and haven't read. Or two visitors on the site at the same time.
-:|:- Support Request Template -:|:-
Image
"Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb"
User avatar
AbuHossam
Registered User
Posts: 295
Joined: Sun Sep 02, 2018 7:24 am

Re: I want another "Quick links" menu

Post by AbuHossam »

KevC wrote: Sat Jun 10, 2023 6:55 pm I suspect they're not there because the difficulty with that is how do you tell one visitor from another in terms of what they have and haven't read. Or two visitors on the site at the same time.
I will make this menu for the forum's links.. that's all
Sorry, I'm using google translate. Try to understand the meaning of my words.
User avatar
Brf
Support Team Member
Support Team Member
Posts: 53401
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: I want another "Quick links" menu

Post by Brf »

Kevin's point is that we cannot determine "New posts" or "Unread Posts" for guests or bots. And "Egosearch" would show nothing. Therefore, those three links would do nothing.
User avatar
AbuHossam
Registered User
Posts: 295
Joined: Sun Sep 02, 2018 7:24 am

Re: I want another "Quick links" menu

Post by AbuHossam »

Brf wrote: Mon Jun 12, 2023 12:54 pm Kevin's point is that we cannot determine "New posts" or "Unread Posts" for guests or bots. And "Egosearch" would show nothing. Therefore, those three links would do nothing.
YEAH, GREAT

ALSO, I MEAN: I want the links to be visible, as I will make them links to the forums "sections".

Also, Can I edit the current menu?
Sorry, I'm using google translate. Try to understand the meaning of my words.
User avatar
Brf
Support Team Member
Support Team Member
Posts: 53401
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: I want another "Quick links" menu

Post by Brf »

You already have a "jump to" box that has shortcuts to the "sections".
And yes you can edit the menus.
User avatar
AbuHossam
Registered User
Posts: 295
Joined: Sun Sep 02, 2018 7:24 am

Re: I want another "Quick links" menu

Post by AbuHossam »

I did not find this option; Can you give me more explanation? Please
Sorry, I'm using google translate. Try to understand the meaning of my words.
User avatar
Sniper_E
Registered User
Posts: 1142
Joined: Wed May 09, 2007 12:18 am
Location: Shreveport, Louisiana
Name: Ed Humphrey
Contact:

Re: I want another "Quick links" menu

Post by Sniper_E »

You can use the Quick links codes as a template to create another menu dropdown.
An overall_header_navigation_prepend.html event template would insert it.

This is the quick links codes without any if statement and events.

Code: Select all

		<li id="extra-links" class="quick-links dropdown-container responsive-menu" data-skip-responsive="true">
			<a href="#" class="dropdown-trigger">
				<i class="icon fa-sun-o fa-fw" aria-hidden="true"></i><span>Extra links</span>
			</a>
			<div class="dropdown">
				<div class="pointer"><div class="pointer-inner"></div></div>
				<ul class="dropdown-contents" role="menu">
					<li class="separator"></li>
					<li>
						<a href="{U_SEARCH_SELF}" role="menuitem">
							<i class="icon fa-file-o fa-fw icon-gray" aria-hidden="true"></i><span>{L_SEARCH_SELF}</span>
						</a>
					</li>
					<li>
						<a href="{U_SEARCH_NEW}" role="menuitem">
							<i class="icon fa-file-o fa-fw icon-red" aria-hidden="true"></i><span>{L_SEARCH_NEW}</span>
						</a>
					</li>
					<li>
						<a href="{U_SEARCH_UNREAD}" role="menuitem">
							<i class="icon fa-file-o fa-fw icon-red" aria-hidden="true"></i><span>{L_SEARCH_UNREAD}</span>
						</a>
					</li>
					<li>
						<a href="{U_SEARCH_UNANSWERED}" role="menuitem">
							<i class="icon fa-file-o fa-fw icon-gray" aria-hidden="true"></i><span>{L_SEARCH_UNANSWERED}</span>
						</a>
					</li>
					<li>
						<a href="{U_SEARCH_ACTIVE_TOPICS}" role="menuitem">
							<i class="icon fa-file-o fa-fw icon-blue" aria-hidden="true"></i><span>{L_SEARCH_ACTIVE_TOPICS}</span>
						</a>
					</li>
					<li class="separator"></li>
					<li>
						<a href="{U_SEARCH}" role="menuitem">
							<i class="icon fa-search fa-fw" aria-hidden="true"></i><span>{L_SEARCH}</span>
						</a>
					</li>
					<li class="separator"></li>
					<li>
						<a href="{U_MEMBERLIST}" role="menuitem">
							<i class="icon fa-group fa-fw" aria-hidden="true"></i><span>{L_MEMBERLIST}</span>
						</a>
					</li>
					<li>
						<a href="{U_TEAM}" role="menuitem">
							<i class="icon fa-shield fa-fw" aria-hidden="true"></i><span>{L_THE_TEAM}</span>
						</a>
					</li>
				</ul>
			</div>
		</li>
Just change the url links, icons and names to meet your needs.
Image . -.. / .... ..- -- .--. .... .-. . -.--
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!

:!: Sniper_E Styles | phpbbmodders :!:
User avatar
AbuHossam
Registered User
Posts: 295
Joined: Sun Sep 02, 2018 7:24 am

Re: I want another "Quick links" menu

Post by AbuHossam »

Sniper_E wrote: Tue Jun 13, 2023 5:24 am An overall_header_navigation_prepend.html event template would insert it.
Thank you, sir
UPDATE: Great, done .. ♥
Sorry, I'm using google translate. Try to understand the meaning of my words.
Post Reply

Return to “[3.3.x] Styles Support & Discussion”