Recent Tutorials
Who is online?
In total there are 8 users online :: 0 Registered, 0 Hidden and 8 Guests :: 2 Bots

None

[ View the whole list ]


Most users ever online was 172 on Fri 19 Feb 2016, 05:17
Keywords

specific Widget position

View previous topic View next topic Go down

avatar
snows
New Member
Title :
Gender : Unspecified
Posts : 7
Points : 22
Reputation : 0
Language : English
Browser : Browser : Google Chrome Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile

Postsnows on Tue 18 Jul 2017, 04:59

is it possible to  place recent topic at the top  of my forum before the ''category and forums''? if yes place help me out


Last edited by snows on Fri 21 Jul 2017, 10:21; edited 1 time in total
avatar
Wolfuryo

Gender : Male
Posts : 203
Points : 1054
Reputation : 69
Language : Romanian and English
Browser : Browser : Google Chrome Forum Version : Forum Version : punBB
Awards :
View all awards
View user profile

PostWolfuryo on Tue 18 Jul 2017, 05:49

Hi,

Yes, it's possible. Please post your forum's link here.
avatar
snows
New Member
Title :
Gender : Unspecified
Posts : 7
Points : 22
Reputation : 0
Language : English
Browser : Browser : Google Chrome Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile

Postsnows on Tue 18 Jul 2017, 05:55

avatar
snows
New Member
Title :
Gender : Unspecified
Posts : 7
Points : 22
Reputation : 0
Language : English
Browser : Browser : Google Chrome Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile

Postsnows on Wed 19 Jul 2017, 21:46

Bump
avatar
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4652
Points : 9634
Reputation : 2327
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Fri 21 Jul 2017, 09:41

Hi @snows,

Go to Admin Panel > Modules > JS Codes Management and create a new script with the following settings.

Placement : In the homepage
Code:
$(function() {
  var topics = document.querySelector('#comments_scroll_div'),
      catg = document.querySelector('.forum-category');
 
  if (topics && catg && topics.closest && catg.before) {
    catg.before(topics.closest('.content-block'));
  }
});
avatar
snows
New Member
Title :
Gender : Unspecified
Posts : 7
Points : 22
Reputation : 0
Language : English
Browser : Browser : Google Chrome Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile

Postsnows on Fri 21 Jul 2017, 10:20

Hey @Ange Tuteur You're indeed a Genius, you made FM forums a great one...... thanks alot 1st
avatar
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4652
Points : 9634
Reputation : 2327
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Sun 23 Jul 2017, 11:00

No problem ^^

View previous topic View next topic Back to top

Create an account or log in to leave a reply

You need to be a member in order to leave a reply.

Create an account

Join our community by creating a new account. It's easy!


Create a new account

Log in

Already have an account? No problem, log in here.


Log in

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