While loop problem
Re: While loop problem
Okay, I *think* it was to have the system grab global announcements instead of normal topics, but I'm not sure I had it working.
-
- New member
- Posts: 23
- Joined: 06 Sep 2008, 14: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: While loop problem
If you find out more and refine the code or mod or update it, please post here. Would be awesome to have a fully functional Announcement grabber.
-
- New member
- Posts: 23
- Joined: 06 Sep 2008, 14: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: While loop problem
Hey, while you've been doing this, I've found two other people doing similar things..
I joined in the development of one them too.
[url=http://www.phpbb.com/community/viewtopic.php?f=71&t=587812&start=570#p8392375]Here's the one Eric made and I modified later on.[/url] (I noticed you use his query.. but we also got some new stuff.)
[url=http://www.phpbb.com/community/viewtopic.php?f=69&t=1402395&p=8459105#p8354535]And here's an actual mod I found by someone.[/url]
I wonder, if you are doing anything different? Perhaps we could optimize each others code or add functionality...
I joined in the development of one them too.
[url=http://www.phpbb.com/community/viewtopic.php?f=71&t=587812&start=570#p8392375]Here's the one Eric made and I modified later on.[/url] (I noticed you use his query.. but we also got some new stuff.)
[url=http://www.phpbb.com/community/viewtopic.php?f=69&t=1402395&p=8459105#p8354535]And here's an actual mod I found by someone.[/url]
I wonder, if you are doing anything different? Perhaps we could optimize each others code or add functionality...
-
- New member
- Posts: 23
- Joined: 06 Sep 2008, 14: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: While loop problem
Have you been able to get polls and inline attachments working? Because right now that's what I'm working on, and I can't get it working.
Re: While loop problem
Actually, I just totally ignored the polls and attachments. I found them to be a bit unnecessary.
-
- New member
- Posts: 23
- Joined: 06 Sep 2008, 14: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: While loop problem
Haha, sadly I need them.
I have been able to get normal attachments, my brain is telling me this wierd and wackyway to do inline attachments.. but I think its not very scalable at all.
If you ever manage to do it, don't hesitate to post it on this thread.
I have been able to get normal attachments, my brain is telling me this wierd and wackyway to do inline attachments.. but I think its not very scalable at all.
If you ever manage to do it, don't hesitate to post it on this thread.
- daGrevis
- New member
- Posts: 8
- Joined: 24 Jan 2009, 14:57
- Location: Latvia [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: While loop problem
With dignity, daGrevis...
- daGrevis
- New member
- Posts: 8
- Joined: 24 Jan 2009, 14:57
- Location: Latvia [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: While loop problem
With dignity, daGrevis...
Re: While loop problem
Remove any spaces before the <?php tag in /language/en/mods/lang_news_page.php
Stupid code boxes.. <_<
Stupid code boxes.. <_<
-
- New member
- Posts: 23
- Joined: 06 Sep 2008, 14: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: While loop problem
That should be applied to official boards. Like put it on top priority, it isn't hard to do...
- daGrevis
- New member
- Posts: 8
- Joined: 24 Jan 2009, 14:57
- Location: Latvia [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: While loop problem
Thanks, but i fix it by my self!
I need to remove spaces from language and getfora file after ?> line! Thans, very, veru useful and cool mod!
I need to remove spaces from language and getfora file after ?> line! Thans, very, veru useful and cool mod!
With dignity, daGrevis...
Return to “phpBB Development discussion”
Who is online
Users browsing this forum: No registered users and 22 guests