[DEV] Random Topics

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Get Involved
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
Ali@php
Registered User
Posts: 59
Joined: Fri Sep 09, 2011 11:17 am
Name: Ali Faraji
Contact:

[DEV] Random Topics

Post by Ali@php » Sat Nov 01, 2014 8:45 pm

Extension Name: Random Topics
Author: Ali@php

Extension Description: Displaying random topics
Extension Version: 1.0.1

Features:

- Displaying random topics in index page
- Displaying random topics in viewtopic pge
- ACP settings page
- responsive

Screenshots:
Image
Image
Image

Github repository:
https://github.com/alifaraji/randomtopics/

Download:
https://github.com/alifaraji/randomtopi ... master.zip

Installation:
Create new folders inside ext folder: alifaraji/randomtopics
Move content of archive file to alifaraji/randomtopics
Login ACP and enable extension from customise tab
Last edited by Ali@php on Thu Nov 13, 2014 12:10 pm, edited 1 time in total.

User avatar
noth
Registered User
Posts: 2407
Joined: Fri Jan 07, 2005 7:10 pm
Location: North Surrey
Contact:

Re: [DEV] Random Topics

Post by noth » Sat Nov 01, 2014 8:54 pm

ooooo :D that is looking good!!

GREAT TO SEE :mrgreen:
UK planning forums got a planning application in the UK?

User avatar
Meis2M
Translator
Posts: 698
Joined: Wed Mar 03, 2010 11:32 am
Location: IR.Damghan
Name: میثم نوبری
Contact:

Re: [DEV] Random Topics

Post by Meis2M » Sun Nov 02, 2014 6:55 am

Very good thanks ali...

Holger
Registered User
Posts: 1565
Joined: Tue Mar 12, 2002 3:54 pm
Location: Hannover

Re: [DEV] Random Topics

Post by Holger » Thu Nov 13, 2014 9:54 am

Last edited by Holger on Thu Nov 13, 2014 11:14 am, edited 1 time in total.
Are you looking for a phpBB Expert? Find a phpBB Expert!
Are you a phpBB Expert? Post your resume!
http://www.phpbbexperts.com

User avatar
PayBas
Former Team Member
Posts: 930
Joined: Thu May 25, 2006 12:37 am

Re: [DEV] Random Topics

Post by PayBas » Thu Nov 13, 2014 10:07 am

Be careful. When looking at the code, I think there is no ACL going on at all.

So every topic will be shown to the user. Whether he has permission to view the topic or not. Depending on the sensitivity of the topic, this might be a security problem.

User avatar
Ali@php
Registered User
Posts: 59
Joined: Fri Sep 09, 2011 11:17 am
Name: Ali Faraji
Contact:

Re: [DEV] Random Topics

Post by Ali@php » Thu Nov 13, 2014 11:08 am

Holger wrote:Thank you!
Swedish translation
Thanks ;) but download link doesn't work

User avatar
Ali@php
Registered User
Posts: 59
Joined: Fri Sep 09, 2011 11:17 am
Name: Ali Faraji
Contact:

Re: [DEV] Random Topics

Post by Ali@php » Thu Nov 13, 2014 11:11 am

PayBas wrote:Be careful. When looking at the code, I think there is no ACL going on at all.

So every topic will be shown to the user. Whether he has permission to view the topic or not. Depending on the sensitivity of the topic, this might be a security problem.
Thanks PayBas, I made some changes to fix that:
https://github.com/alifaraji/randomtopi ... bd01e4a2cd

Holger
Registered User
Posts: 1565
Joined: Tue Mar 12, 2002 3:54 pm
Location: Hannover

Re: [DEV] Random Topics

Post by Holger » Thu Nov 13, 2014 11:15 am

Ali@php wrote:
Holger wrote:Thank you!
Swedish translation
Thanks ;) but download link doesn't work
Sorry, wrong date, fixed in my post above!
Are you looking for a phpBB Expert? Find a phpBB Expert!
Are you a phpBB Expert? Post your resume!
http://www.phpbbexperts.com

User avatar
Ali@php
Registered User
Posts: 59
Joined: Fri Sep 09, 2011 11:17 am
Name: Ali Faraji
Contact:

Re: [DEV] Random Topics

Post by Ali@php » Thu Nov 13, 2014 11:27 am

Holger wrote:
Ali@php wrote:
Holger wrote:Thank you!
Swedish translation
Thanks ;) but download link doesn't work
Sorry, wrong date, fixed in my post above!
Added to package. Thanks :)

User avatar
noth
Registered User
Posts: 2407
Joined: Fri Jan 07, 2005 7:10 pm
Location: North Surrey
Contact:

Re: [DEV] Random Topics

Post by noth » Thu Nov 13, 2014 6:38 pm

this is going to be great on the index page :P

but would it be possible for an ACP option to change the title of the block from "Random Topics" to e.g. "Topics of the Day" please?

'Random Topics' is a truthful and accurate description of the block quite obviously, however IMHO calling it something else ... "Topics of the Day", "Administrator's PICK" "Site GOLD" such titles are less accurate, but to me add a gloss to the block that focuses more interest on it, than just "Random Topics" which to me sounds perhaps bland or something like that :x

A really good TITLE for the block chosen with a bit if imagination I think would make a big difference and I know we can FTP/ HTML manually change the title ourselves - yes we can :D
UK planning forums got a planning application in the UK?

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 19958
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: [DEV] Random Topics

Post by RMcGirr83 » Thu Nov 13, 2014 6:47 pm

This mod will only work with MySQL due to the RAND function being used in the select and the query is not being free resulted either.
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

Holger
Registered User
Posts: 1565
Joined: Tue Mar 12, 2002 3:54 pm
Location: Hannover

Re: [DEV] Random Topics

Post by Holger » Fri Nov 14, 2014 6:57 am

noth wrote:this is going to be great on the index page :P

but would it be possible for an ACP option to change the title of the block from "Random Topics" to e.g. "Topics of the Day" please?

'Random Topics' is a truthful and accurate description of the block quite obviously, however IMHO calling it something else ... "Topics of the Day", "Administrator's PICK" "Site GOLD" such titles are less accurate, but to me add a gloss to the block that focuses more interest on it, than just "Random Topics" which to me sounds perhaps bland or something like that :x

A really good TITLE for the block chosen with a bit if imagination I think would make a big difference and I know we can FTP/ HTML manually change the title ourselves - yes we can :D
Cant you change the title in the lang-file?
Are you looking for a phpBB Expert? Find a phpBB Expert!
Are you a phpBB Expert? Post your resume!
http://www.phpbbexperts.com

caunhocquay
Registered User
Posts: 5
Joined: Tue May 05, 2015 7:47 am

Re: [DEV] Random Topics

Post by caunhocquay » Tue May 05, 2015 1:01 pm

How can I add author's avatar before topic title? :)

User avatar
ac_roma
Registered User
Posts: 297
Joined: Thu Mar 08, 2007 2:48 pm
Location: egypt,alexandria
Contact:

Re: [DEV] Random Topics

Post by ac_roma » Tue May 05, 2015 7:23 pm

nice and important

thanks ;)

wmdcf
Registered User
Posts: 26
Joined: Sun Jan 11, 2015 2:37 am

Re: [DEV] Random Topics

Post by wmdcf » Sat May 30, 2015 5:12 pm

Any updates on this? I'm planing to install this on my live board :roll:

Post Reply

Return to “Extensions in Development”

Who is online

Users browsing this forum: Puchahawa and 32 guests