[DEV] Random topics on Index

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Suggested Hosts
Locked
User avatar
all4phone
Registered User
Posts: 593
Joined: Fri Mar 18, 2011 11:56 am
Location: Poland
Name: Piotr
Contact:

[DEV] Random topics on Index

Post by all4phone » Wed Oct 01, 2014 11:41 am

Modification Name: Random topics on Index
Author: all4phone

Modification Description: Displays X random topics on the Index page.

IMPORTANT
This mod is't validated, so as always do not install on a live board!

Modification Version: 0.1.0
phpBB: 3.0.12
Installation level: Easy
Installation time: ~1 minute

Author notes:
This mod is only rewritten and adjusted to newest phpbb3 (from one old existing mod for phpbb2) on request in this topic: viewtopic.php?f=72&t=1756115

Features:
  • ACP enable/disable MOD (v 0.0.2)
  • ACP choose the number of topics to display (v 0.0.2)
  • ACP choose ID forums for topics to display (v 0.0.2)
  • bolding titles links of most popular topics (v 0.0.2)
  • number of responses of random topics (v 0.0.2)
  • sequential number of random topics (v 0.1.0)
  • set separators of random topics (v 0.1.0)
  • forum name (link title attribute) of random topics (v 0.1.0)
Available languages​​:
  • english
Supported styles:
  • prosilver
Demo: demo
Screenshots: screenshots

Demo Username: tester
Demo Password: 123456

Download: download
Last edited by all4phone on Fri Oct 03, 2014 10:24 am, edited 13 times in total.

User avatar
muggins
Registered User
Posts: 1183
Joined: Fri Feb 22, 2008 5:12 pm
Location: Texas
Name: Donovan
Contact:

Re: [ALPHA] Random topics on Index

Post by muggins » Wed Oct 01, 2014 3:06 pm

Search engines "like" bold fonts? What?
Muggins

User avatar
all4phone
Registered User
Posts: 593
Joined: Fri Mar 18, 2011 11:56 am
Location: Poland
Name: Piotr
Contact:

Re: [ALPHA] Random topics on Index

Post by all4phone » Wed Oct 01, 2014 4:19 pm

I read it here (markup). Importance of this factor is rather marginal but nevertheless exists.

User avatar
all4phone
Registered User
Posts: 593
Joined: Fri Mar 18, 2011 11:56 am
Location: Poland
Name: Piotr
Contact:

Re: [ALPHA] Random topics on Index

Post by all4phone » Wed Oct 01, 2014 7:27 pm

First post updated to v 0.0.1

- download available

User avatar
Lumpy Burgertushie
Registered User
Posts: 66469
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: [ALPHA] Random topics on Index

Post by Lumpy Burgertushie » Wed Oct 01, 2014 9:59 pm

all4phone wrote:I read it here (markup). Importance of this factor is rather marginal but nevertheless exists.
that is a rather loose interpretation of what is said in the article you linked to.

bolding a link to get better rankings would be so easy to abuse that there is no way that google is going to put much importance to something like that.


robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?

User avatar
all4phone
Registered User
Posts: 593
Joined: Fri Mar 18, 2011 11:56 am
Location: Poland
Name: Piotr
Contact:

Re: [BETA] Random topics on Index

Post by all4phone » Thu Oct 02, 2014 7:28 am

Ok, I've changed description (to less conflictual) in the first post.

// edit
added screenshot v 0.0.1 (first post updated) - here

User avatar
all4phone
Registered User
Posts: 593
Joined: Fri Mar 18, 2011 11:56 am
Location: Poland
Name: Piotr
Contact:

Re: [BETA] Random topics on Index

Post by all4phone » Thu Oct 02, 2014 12:27 pm

First post updated to v 0.0.2

new:
- see new features in main post


For details see screenshots:
- screenshots
- new download

User avatar
all4phone
Registered User
Posts: 593
Joined: Fri Mar 18, 2011 11:56 am
Location: Poland
Name: Piotr
Contact:

Re: [DEV] Random topics on Index

Post by all4phone » Fri Oct 03, 2014 10:31 am

First post updated to v 0.1.0

new:
- see new features in main post


For details see screenshots:
- screenshots
- new download

forforce
Registered User
Posts: 323
Joined: Fri Oct 04, 2013 7:57 am
Contact:

Re: [DEV] Random topics on Index

Post by forforce » Sun Dec 14, 2014 1:40 pm

Hi, thank you for this mod, this is what I was looking for but I want to use it in a sidebar or other pages, I don`t need it on index page. Can you tell me please how can I do that ? Thank you!.
https://www.cumseface.eu , We have tutorials for everything / Te ajutam se te descurci singur .

forforce
Registered User
Posts: 323
Joined: Fri Oct 04, 2013 7:57 am
Contact:

Re: [DEV] Random topics on Index

Post by forforce » Sun Dec 14, 2014 4:32 pm

I tried to add

Code: Select all

// Mod: Random topics on Index ---------------------
include($phpbb_root_path . 'includes/functions_rand_topics.' . $phpEx);
// Mod: Random topics on Index ---------------------
and

Code: Select all

// Mod: Random topics on Index -----------------------------
	'RANDOM_TOPICS' 		=> get_rand_topics($config['rtoi_number']),
// Mod: Random topics on Index -----------------------------
in index.php but it`s not working... somebody?
https://www.cumseface.eu , We have tutorials for everything / Te ajutam se te descurci singur .

forforce
Registered User
Posts: 323
Joined: Fri Oct 04, 2013 7:57 am
Contact:

Re: [DEV] Random topics on Index

Post by forforce » Sun Jan 04, 2015 9:44 pm

Can anybody help ?! :( Nobody ?!
https://www.cumseface.eu , We have tutorials for everything / Te ajutam se te descurci singur .

User avatar
all4phone
Registered User
Posts: 593
Joined: Fri Mar 18, 2011 11:56 am
Location: Poland
Name: Piotr
Contact:

Re: [DEV] Random topics on Index

Post by all4phone » Mon Jan 05, 2015 10:58 am

I'm sorry so late.
forforce wrote:I want to use it in a sidebar or other pages
After install this mod U have to add this code: <!-- IF S_RTOI_ENABLE --><!-- INCLUDE random_topic.html --><!-- ENDIF --> to your template file.

The following instruction show you how to add random topisc section to view topics of your forum:
http://phpbbmods.cba.pl/viewtopic.php?p=739#p739

I hope it will be helpful.

forforce
Registered User
Posts: 323
Joined: Fri Oct 04, 2013 7:57 am
Contact:

Re: [DEV] Random topics on Index

Post by forforce » Thu Jan 15, 2015 9:04 pm

Thank you, all good, I left you another message on your website, if you can help me with that thing too ... Thanks.
https://www.cumseface.eu , We have tutorials for everything / Te ajutam se te descurci singur .

Locked

Return to “[3.0.x] MODs in Development”