Preview Button For Topics

Go down

Solved Preview Button For Topics

Post by inallsorts on July 9th 2014, 9:45 am

Greetings everyone,

Just wondering whether there's a code for this for phpBB3: https://help.forumotion.com/t134113-add-a-preview-button-for-topics#902830

Looking at the code, It's suited to PunBB.

Thanks for all help given.


Last edited by inallsorts on July 9th 2014, 12:44 pm; edited 1 time in total

inallsorts
Forumember

Posts : 246
Reputation : 8
Language : English

Back to top Go down

Solved Re: Preview Button For Topics

Post by Ange Tuteur on July 9th 2014, 9:51 am

Hi inallsorts,

The code works for all versions. Did you see the variable at the top ? (isPunbb) That's a fallback to check if the user is using Punbb, Punbb had some style issues so I had to write a little fallback for it to look correctly. If you're using any other version the variable is just an empty string. Wink
avatar
Ange Tuteur
Forumaster

Male Posts : 13202
Reputation : 2917
Language : EN10, FR5, JA5
Location : Macungie, PA

https://github.com/SethClydesdale

Back to top Go down

Solved Re: Preview Button For Topics

Post by inallsorts on July 9th 2014, 12:39 pm

@Ange Tuteur wrote:Hi inallsorts,

The code works for all versions. Did you see the variable at the top ? (isPunbb) That's a fallback to check if the user is using Punbb, Punbb had some style issues so I had to write a little fallback for it to look correctly. If you're using any other version the variable is just an empty string. Wink

Yes you're correct, I just got the chance to test It now and It's working fine.
Thanks for your prompt response, appreciated.

/Topic.

inallsorts
Forumember

Posts : 246
Reputation : 8
Language : English

Back to top Go down

Solved Re: Preview Button For Topics

Post by Derri on July 9th 2014, 12:49 pm

Topic Solved and Locked
avatar
Derri
Helper
Helper

Male Posts : 8713
Reputation : 629
Language : English & Basic French
Location : Scotland, United Kingdom

Back to top Go down

Back to top


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