Like SystemiConnectFri 15 Oct 2021, 04:50
Auto Save MessagesLGforumFri 26 Feb 2021, 13:31
New tutorial questionTheCrowMon 15 Feb 2021, 08:12
Support iOS Emojis (and other platforms)LGforumSun 14 Feb 2021, 01:25
LGforum (2806)
Sorted topics in subforums Vote_lcapSorted topics in subforums Voting_barSorted topics in subforums Vote_rcap 
Mr.Easybb (1587)
Sorted topics in subforums Vote_lcapSorted topics in subforums Voting_barSorted topics in subforums Vote_rcap 
Bloodbath (745)
Sorted topics in subforums Vote_lcapSorted topics in subforums Voting_barSorted topics in subforums Vote_rcap 
Rukiafan (533)
Sorted topics in subforums Vote_lcapSorted topics in subforums Voting_barSorted topics in subforums Vote_rcap 
Dom (513)
Sorted topics in subforums Vote_lcapSorted topics in subforums Voting_barSorted topics in subforums Vote_rcap 
puppycheese (446)
Sorted topics in subforums Vote_lcapSorted topics in subforums Voting_barSorted topics in subforums Vote_rcap 
pedro (330)
Sorted topics in subforums Vote_lcapSorted topics in subforums Voting_barSorted topics in subforums Vote_rcap 
Neymar (301)
Sorted topics in subforums Vote_lcapSorted topics in subforums Voting_barSorted topics in subforums Vote_rcap 
Hitsu (281)
Sorted topics in subforums Vote_lcapSorted topics in subforums Voting_barSorted topics in subforums Vote_rcap 
Flora (275)
Sorted topics in subforums Vote_lcapSorted topics in subforums Voting_barSorted topics in subforums Vote_rcap 


Sorted topics in subforums

smejkersmejker
Status : No status yet...

Posts : 36
Join date : 2013-11-21
Location : Macedonia
Wed 22 Oct 2014, 09:36
I want to know, In General -> Categories & Forums -> Modify we have a options: Sort topics by :
Like an image...

Sorted topics in subforums Captur42

So I wonder if this solution is able to put in subforums?
Something like ih this picture:

Sorted topics in subforums Sorted10

So I want to add the sort by function in the topic list page. (Subforums)

Thanks in advance.
Regards & Respect!
BloodbathBloodbath
Status : No status yet...

Posts : 745
Join date : 2013-05-31
Age : 28
Wed 22 Oct 2014, 17:13
Possible, yes, but it'd require you to make information about your admin panel accessible to everyone if you include it within your page.
smejkersmejker
Status : No status yet...

Posts : 36
Join date : 2013-11-21
Location : Macedonia
Fri 24 Oct 2014, 13:50
Thanks Bloodbath,

Maybe someone know how to do it, and will help me!
I'll be weiting...
BloodbathBloodbath
Status : No status yet...

Posts : 745
Join date : 2013-05-31
Age : 28
Fri 24 Oct 2014, 16:22
Well, rather than having someone write everything for you, here's a few tips on how to do it yourself:

First of all, we need to check if the user is an admin. We do that by checking window._userdata.user_level.
Code:
var isAdmin = (window._userdata.user_level === 1);

Next we need to display a select list, just create some HTML for that.

This is the most important step: we need to check the HTTP form data that is being sent in the Admin Panel. Use a browser add-on called HttpFox to monitor all HTTP requests.
smejkersmejker
Status : No status yet...

Posts : 36
Join date : 2013-11-21
Location : Macedonia
Mon 24 Nov 2014, 10:09
Bloodbath wrote:[quotelink="http://www.avacweb.com/t2216-sorted-topics-in-subforums#21183"]Well, rather than having someone write everything for you, here's a few tips on how to do it yourself:

First of all, we need to check if the user is an admin. We do that by checking window._userdata.user_level.
Code:
var isAdmin = (window._userdata.user_level === 1);

Next we need to display a select list, just create some HTML for that.

This is the most important step: we need to check the HTTP form data that is being sent in the Admin Panel. Use a browser add-on called HttpFox to monitor all HTTP requests.

It's very easy, when I reading... but it's very difficult, when I try to do that...

In fact, to admit, I do not know how to do it.

Regards & Respect!
avatarGuest
Thu 05 May 2016, 05:56
@smejker : Is this still needed? Solved?
Sponsored content