Code: Select all
WHERE p.post_text LIKE "%[img:%]%[/img:%]"
AND p.topic_id = ' . $topic_id . '
AND t.topic_id = ' . $topic_id . '
Code: Select all
// 4seven / Last X [img] on Forum / 2010
include_once($phpbb_root_path . 'includes/last_x_img_on_forum.' . $phpEx);
// 4seven / Last X [img] on Forum / 2010
sorry it's a bug with my config.php file i have delete 5 blank line after ' ?> ' and all it's work now !lustucrus wrote:Thank's for your help, i find it, but i need to autorised 'can view post details' in global Moderator permission ....
This is normal ??? because i dont want this option for all user.
thank's for work
seems, that this is not mod related, so fopen() is missing or you made a customized version.Poulg wrote:But nothing appears
Code: Select all
// 4seven / Last X [img] on Forum / 2010
function url_exists($url) {
$handle = @fopen($url, "r");
if ($handle === false){
return false;
fclose($handle);}
else{
return true;
fclose($handle);}}
// 4seven / Last X [img] on Forum / 2010
Code: Select all
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
Which modification? You want to install Last X [img] on Forum v.0.0.2?Poulg wrote:I only made the modification which I spoke to you
What file??? ----------:?:donfrankos wrote:I did a dirty fix myself for now:
for anybody who wants to show only 1 image per post:
search forthen add on the line BEFORE:Code: Select all
foreach ($current_posted_img[2] as $current_file_img){
add on the line AFTER:Code: Select all
$MaxPicsPerPost = 1; $i=0;
you can change the value of $MaxPicsPerPost to the amount of pictures you want to show per postCode: Select all
if(++$i > $MaxPicsPerPost) break;
srry for messing around in your code, hope you won't be offended by it
regards
Frank