Show first post only

Support for mods released by phpbbmodders.net found at either https://github.com/phpbbmodders/ or the MODDB at http://www.phpbb.com
Forum rules
Please only request support for mods released by phpbbmodders.net found at either https://github.com/phpbbmodders/ or the MODDB at http://www.phpbb.com
Sat01
New member
New member
Posts: 49
Joined: 25 Jul 2008, 23:59
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Show first post only

Postby Sat01 » 16 Jun 2009, 22:42

Hi RMc,

I’d ask you what do you think about this my request [url=http://www.phpbb.com/community/viewtopic.php?f=72&t=1648055]Show first post only[/url]. On phpbb.com i didn't get any answers, but i think that it isn't a complicated mod 'nd in my opinion it would be very useful to get more registrations in own board.

In addition to the mentioned features i'd add a option in ACP for enable/disable the mod.

Let me know what do u think and if you could make it in the future. It would be great! :)

Sat01
New member
New member
Posts: 49
Joined: 25 Jul 2008, 23:59
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Show first post only

Postby Sat01 » 29 Jun 2009, 12:28


User avatar
RMcGirr83
Past Contributor
Past Contributor
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Show first post only

Postby RMcGirr83 » 29 Jun 2009, 13:29


Sat01
New member
New member
Posts: 49
Joined: 25 Jul 2008, 23:59
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Show first post only

Postby Sat01 » 30 Jun 2009, 09:57

Thanks a lot for the answer RMc, but i thought it was easier to make...

I've made some attempt but don't get anything, neither errors. I'll try with some other tests, if in the meantime you can give me other advices, i'd appreciate it :)

Anyway,thank u for ur help!

User avatar
RMcGirr83
Past Contributor
Past Contributor
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Show first post only

Postby RMcGirr83 » 30 Jun 2009, 10:03


Sat01
New member
New member
Posts: 49
Joined: 25 Jul 2008, 23:59
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Show first post only

Postby Sat01 » 30 Jun 2009, 10:43

It works!!!! :D Thank u RM, u're great!!

What would you say to make a mod based on that? For me it's already wonderful in this way but building a mod with error message would be great.

Thank you very very much!!

User avatar
RMcGirr83
Past Contributor
Past Contributor
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Show first post only

Postby RMcGirr83 » 30 Jun 2009, 10:53

Not sure about an error message but you could append the topic in viewtopic giving guest a statement to login to see the rest of the message.

Sat01
New member
New member
Posts: 49
Joined: 25 Jul 2008, 23:59
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Show first post only

Postby Sat01 » 30 Jun 2009, 11:05


User avatar
RMcGirr83
Past Contributor
Past Contributor
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Show first post only

Postby RMcGirr83 » 30 Jun 2009, 11:14


Sat01
New member
New member
Posts: 49
Joined: 25 Jul 2008, 23:59
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Show first post only

Postby Sat01 » 30 Jun 2009, 11:21

Oh... I would never get there :oops:

Thanks!! If u want i can put the code in a xml (inserting you as author), becuse in my opionion this is a very useful mod, above all to get more registred users.

User avatar
RMcGirr83
Past Contributor
Past Contributor
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Show first post only

Postby RMcGirr83 » 30 Jun 2009, 11:23

Be my guest...I have enough mods floating around the interweb. ;)

Sat01
New member
New member
Posts: 49
Joined: 25 Jul 2008, 23:59
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Show first post only

Postby Sat01 » 30 Jun 2009, 11:42

Well, today i get organized and let u know asap.

Thanks again RM, i love this forum! :D

User avatar
RMcGirr83
Past Contributor
Past Contributor
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Show first post only

Postby RMcGirr83 » 30 Jun 2009, 12:24

One thought though, you would have to get rid of the hard coded language entries....which is one of the easiest parts to mod. Give it a shot and if you get stuck, give a shout. ;)

Sat01
New member
New member
Posts: 49
Joined: 25 Jul 2008, 23:59
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Show first post only

Postby Sat01 » 01 Jul 2009, 15:17

Hey RM,

Finally i’ve written the mod on xml. My cousin (Primy) has written other functions that i cannot understand.

So, since I don’t know if everything is correct would be happy if you could check out the mod.

Anyway I put you as author if it’s ok for you :)

SFPO_1.0.0.zip
Show first post only to guest
(92.51 KiB) Downloaded 16 times

User avatar
RMcGirr83
Past Contributor
Past Contributor
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Show first post only

Postby RMcGirr83 » 01 Jul 2009, 15:38

Looks pretty good..not really sure about the code as I haven't installed/tested it.

Also, while I am flattered that you put me down as author, please remove it as it is not me that wrote the code in the zip and I don't plan on supporting this mod.

Thanks.


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Return to “Modders MOD support”

Who is online

Users browsing this forum: No registered users and 61 guests