Search found 5 matches

[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
by eighteyes
08 Nov 2008, 01:54
Forum: phpBB Development discussion
Topic: <img> not working in template
Replies: 3
Views: 2170

Re: <img> not working in template

In code : $img_url = $config['upload_path'] . "/ads/" . $row['img_description']; $image = "<img src='$img_url' border='0' alt='$title'>"; $template->assign_block_vars('imagerow', array( 'IMAGE' => $image)); In Template: <!-- BEGIN imagerow --> {imagerow.IMAGE} <!-- END imagerow -...
by eighteyes
08 Nov 2008, 01:53
Forum: phpBB Development discussion
Topic: <img> not working in template
Replies: 3
Views: 2170

Re: <img> not working in template

In code : $img_url = $config['upload_path'] . "/ads/" . $row['img_description']; $image = "<img src='$img_url' border='0' alt='$title'>"; $template->assign_block_vars('imagerow', array( 'IMAGE' => $image)); In Template: <!-- BEGIN imagerow --> {imagerow.IMAGE} <!-- END imagerow -...
by eighteyes
07 Nov 2008, 19:20
Forum: phpBB Development discussion
Topic: <img> not working in template
Replies: 3
Views: 2170

<img> not working in template

Hi, I'm trying to link to an image with <img> in my template code, but it's getting rewritten to add display:none and exiled by the engine. Why and Help?
by eighteyes
30 Oct 2008, 05:06
Forum: phpBB Development discussion
Topic: Double Insert ARGH!
Replies: 0
Views: 1877

Double Insert ARGH!

ED: Sorry for the double post, I hit the wrong board. Oh this was going so swimmingly. I was going to be done with this mod soon, then this UGLY bug comes up. It WAS working too. So here's my relevant code. $result = $db->sql_query("INSERT INTO " . ADS_ADVERTS_TABLE . ' ' . $db->sql_build_...
by eighteyes
30 Oct 2008, 05:03
Forum: phpBB 3.0.x "Olympus" discussion
Topic: Double Insert ARGH!
Replies: 0
Views: 1868

Double Insert ARGH!

Oh this was going so swimmingly. I was going to be done with this mod soon, then this UGLY bug comes up. It WAS working too. So here's my relevant code. $result = $db->sql_query("INSERT INTO " . ADS_ADVERTS_TABLE . ' ' . $db->sql_build_array('INSERT',$ad_data)); Should be fine and dandy. I...
[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

[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

Go to advanced search