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.

Advanced News Widget

4 posters

Go down

Solved Advanced News Widget

Post by Scarlet D. 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.
Scarlet D.
Forumember

Male Posts : 130
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 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.


Advanced News Widget  Slgray10

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

Male Posts : 51463
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: Advanced News Widget

Post by Scarlet D. 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.
Scarlet D.
Forumember

Male Posts : 130
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 January 17th 2016, 10:51 pm

I am a little confused about exactly what you want.


Advanced News Widget  Slgray10

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

Male Posts : 51463
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: Advanced News Widget

Post by azwiz 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
azwiz
Forumember

Male Posts : 834
Reputation : 9
Language : english
Location : Apache Junction , Arizona USA

https://www.valleyofthesuncc.com/

Back to top Go down

Solved Re: Advanced News Widget

Post by SLGray 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 .


Advanced News Widget  Slgray10

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

Male Posts : 51463
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: Advanced News Widget

Post by azwiz 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. https://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
azwiz
Forumember

Male Posts : 834
Reputation : 9
Language : english
Location : Apache Junction , Arizona USA

https://www.valleyofthesuncc.com/

Back to top Go down

Solved Re: Advanced News Widget

Post by Scarlet D. 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.
Scarlet D.
Forumember

Male Posts : 130
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. 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.
Scarlet D.
Forumember

Male Posts : 130
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 January 20th 2016, 12:55 am

Topic solved and archived


Advanced News Widget  Left1212Advanced News Widget  Center11Advanced News Widget  Right112
Advanced News Widget  Ape_b110
Advanced News Widget  Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 19084
Reputation : 1988
Language : fluent in dork / mumbojumbo & English haha

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

Back to top Go down

Back to top

- Similar topics

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