The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Advanced News Widget

View previous topic View next topic Go down

Solved Advanced News Widget

Post by Scarlet D. on January 17th 2016, 2:54 pm

Technical Details


Forum version : #phpBB3
Position : Founder
Concerned browser(s) : Mozilla Firefox, Google Chrome
Who the problem concerns : All members
Forum link : http://onepiecegr.forum-pro.org/

Description of problem

Hello

As the title says i would like to create an Advanced news widget.
The widget will work like this:
One of the members of my forum shall have a special rank (news reporter) on the forum
This member will have the special privilege to choose the topic that will stick on the news widget himself

is a widget like this possible?


Last edited by Heartsealed on January 19th 2016, 7:16 pm; edited 1 time in total

Scarlet D.
Forumember

Male Posts : 121
Reputation : 2
Language : Greek,English
Location : Athens,Greece

http://onepiecegr.forum-pro.org/

Back to top Go down

Solved Re: Advanced News Widget

Post by SLGray on January 17th 2016, 9:12 pm

A way to do this is use the default news widget and set it for a certain forum on your forum. Then set the member to be the only one who can post in that forum.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36639
Reputation : 2441
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Solved Re: Advanced News Widget

Post by Scarlet D. on January 17th 2016, 10:08 pm

@SLGray wrote:A way to do this is use the default news widget and set it for a certain forum on your forum. Then set the member to be the only one who can post in that forum.

Well i thought so, but this person (the guy who i will make news reporter) wants to insert to the news widget other people's topics from various forums too, so a new news widget has to be made in the process blackeye

Scarlet D.
Forumember

Male Posts : 121
Reputation : 2
Language : Greek,English
Location : Athens,Greece

http://onepiecegr.forum-pro.org/

Back to top Go down

Solved Re: Advanced News Widget

Post by SLGray on January 17th 2016, 10:51 pm

I am a little confused about exactly what you want.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36639
Reputation : 2441
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Solved Re: Advanced News Widget

Post by azwiz on January 17th 2016, 11:47 pm

Heartsealed wrote:
@SLGray wrote:A way to do this is use the default news widget and set it for a certain forum on your forum. Then set the member to be the only one who can post in that forum.

Well i thought so, but this person (the guy who i will make news reporter) wants to insert to the news widget other people's topics from various forums too, so a new news widget has to be made in the process blackeye

The news widget will only display the content from the forum it is assigned . Content can be added to it through the assigned forum

azwiz
Forumember

Male Posts : 408
Reputation : 6
Language : english
Location : Apache Junction , Arizona USA

http://valleyofthesun.forumotion.co.uk/

Back to top Go down

Solved Re: Advanced News Widget

Post by SLGray on January 17th 2016, 11:53 pm

I believe there is a code that allows you to have more than one news widget.

I will look around to see if I can found it.

Edit: Found one - http://fmdesign.forumotion.com/t229-add-news-topics-from-multiple-forums#1207 .


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36639
Reputation : 2441
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Solved Re: Advanced News Widget

Post by azwiz on January 18th 2016, 3:42 am

@SLGray wrote:I believe there is a code that allows you to have more than one news widget.

I will look around to see if I can found it.

Edit: Found one - http://fmdesign.forumotion.com/t229-add-news-topics-from-multiple-forums#1207 .

Didn't know that . Very cool .

I suppose I have to change this stuff below to use it ?

To add new News widgets write : newsWidget(column, forum, topics, special_id)

Explained :

column : The column you want them to appear in ( left or right ) LOWERCASE ONLY

forum : The ID of the forum you want to load e.g. http://help.forumotion.com/f1-updates-and-new-features = f1 - f = 1

topics : The amount of topics you want to load (1, 2, 3, 4..)

special_id : It is important you use a UNIQUE ID for each news you add. It can be random numbers or letters, but make sure they are not identical.

You can modify the two I have in the script above already. To add more simply copy and paste them after. Example :
CODE:SELECT CONTENT
newsWidget('left', 1, 3, 12);
newsWidget('left', 2, 3, '41h3');
newsWidget('left', 4, 3, 4123);
newsWidget('left', 7, 3, 4113);

Note : The topics loaded are cached for 5 minutes to prevent multiple requests.

azwiz
Forumember

Male Posts : 408
Reputation : 6
Language : english
Location : Apache Junction , Arizona USA

http://valleyofthesun.forumotion.co.uk/

Back to top Go down

Solved Re: Advanced News Widget

Post by Scarlet D. on January 18th 2016, 11:35 am

@SLGray wrote:I am a little confused about exactly what you want.
ok let me be a little clearer.

I want to give one guy ONLY him the privilage to edit which news can be on the news widget. He will choose topics from all over the forum and will attach them to this new widget i suggest (advanced news widget) one by one. Got it?
(btw nice widget yuo linked there i will dave it for later)

Scarlet D.
Forumember

Male Posts : 121
Reputation : 2
Language : Greek,English
Location : Athens,Greece

http://onepiecegr.forum-pro.org/

Back to top Go down

Solved Re: Advanced News Widget

Post by Scarlet D. on January 19th 2016, 1:28 pm

i found out this thing i ask cannot be done without moderator-administrator privilages, thanks everybody for trying to help. This topic can now be locked

Scarlet D.
Forumember

Male Posts : 121
Reputation : 2
Language : Greek,English
Location : Athens,Greece

http://onepiecegr.forum-pro.org/

Back to top Go down

Solved Re: Advanced News Widget

Post by APE on January 20th 2016, 12:55 am

Topic solved and archived




APE
Manager
Manager

Male Posts : 8609
Reputation : 748
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

View previous topic View next topic Back to top


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