A way to display images posted with [img] bbcodes ?

Looking for a MOD? Have a MOD request? Post here for help. (Note: This forum is community supported; phpBB does not have official MOD authors)
Ideas Centre
joebart72
Registered User
Posts: 743
Joined: Thu Feb 01, 2007 5:54 am

A way to display images posted with [img] bbcodes ?

Post by joebart72 »

Hello :)

I'm looking for a mod or a tip in order to display on my index the last X pictures posted but with bbcodes.

I've seen a beta mod with attachments files but I had too many troubles using it...

Thanks for your help. :D
I learn English with phpbb.com :)
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: A way to display images posted with [img] bbcodes ?

Post by 4_seven »

Current Mods | Mod Base | php(BB) programming | No help via PM
joebart72
Registered User
Posts: 743
Joined: Thu Feb 01, 2007 5:54 am

Re: A way to display images posted with [img] bbcodes ?

Post by joebart72 »

Hello 4seven :)

I've just seen your post Last X [attachments] on Forum v.0.0.1 (new preview) that seems to answer my request. ;)
I learn English with phpbb.com :)
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: A way to display images posted with [img] bbcodes ?

Post by 4_seven »

Current Mods | Mod Base | php(BB) programming | No help via PM
joebart72
Registered User
Posts: 743
Joined: Thu Feb 01, 2007 5:54 am

Re: A way to display images posted with [img] bbcodes ?

Post by joebart72 »

I'm going to watch, thanks but I only want this on index and not viewforum ;)

Nice the scrolling pictures on your viewforum :)
Last edited by joebart72 on Mon Jan 04, 2010 3:06 pm, edited 1 time in total.
I learn English with phpbb.com :)
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: A way to display images posted with [img] bbcodes ?

Post by 4_seven »

aahh, u mean a "Last X [attachments] on Forum" Version for [img]?
Current Mods | Mod Base | php(BB) programming | No help via PM
joebart72
Registered User
Posts: 743
Joined: Thu Feb 01, 2007 5:54 am

Re: A way to display images posted with [img] bbcodes ?

Post by joebart72 »

Yes, i wait for your mod :D

With crawl script, it will be perfect :)
Last edited by joebart72 on Mon Jan 04, 2010 3:10 pm, edited 2 times in total.
I learn English with phpbb.com :)
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: A way to display images posted with [img] bbcodes ?

Post by 4_seven »

oops, that i dont have in my repertoire this time :|

so i misunderstand u and will build also this clone :D

takes some time and report it here :idea:
Current Mods | Mod Base | php(BB) programming | No help via PM
joebart72
Registered User
Posts: 743
Joined: Thu Feb 01, 2007 5:54 am

Re: A way to display images posted with [img] bbcodes ?

Post by joebart72 »

Does this mod exist with attached pictures ? I mean, only on index with crawlings pictures and not viewforum...
I learn English with phpbb.com :)
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: A way to display images posted with [img] bbcodes ?

Post by 4_seven »

Last X [attachments] on Forum is a flexible mod (like the unborn [img] version). you can use it on index or/and on viewforum. and, it cames out as standard- and crawl-script version. the mod exists, but is not released yet. maybe this or next week
Last edited by 4_seven on Wed Jan 06, 2010 6:41 pm, edited 2 times in total.
Current Mods | Mod Base | php(BB) programming | No help via PM
joebart72
Registered User
Posts: 743
Joined: Thu Feb 01, 2007 5:54 am

Re: A way to display images posted with [img] bbcodes ?

Post by joebart72 »

OK, so I wait and thanks :D
I learn English with phpbb.com :)
joebart72
Registered User
Posts: 743
Joined: Thu Feb 01, 2007 5:54 am

Re: A way to display images posted with [img] bbcodes ?

Post by joebart72 »

I tried your mod here :

http://4seven.kilu.de/forum/phpbb3/view ... ?f=8&t=337

But I'm unable to acess my index. My board is loading, looading and loding and nothing...
I learn English with phpbb.com :)
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: A way to display images posted with [img] bbcodes ?

Post by 4_seven »

have update the package before some minutes.
clear all browser-caches and press strg + f5,
visit the link again and download the new package

and follow all hints in the relevant dev-thread from here
http://4seven.kilu.de/forum/phpbb3/view ... &f=8#p1082

especially this one:
Hint:

Until the ACP is not ready, you find the Settings under

Code: Select all

//---------SETTINGS-------------------------
Section
in

Code: Select all

includes/last_x_attachments_on_forum.php
and

Code: Select all

includes/last_x_attachments_on_forum_crawl.php
Current Mods | Mod Base | php(BB) programming | No help via PM
joebart72
Registered User
Posts: 743
Joined: Thu Feb 01, 2007 5:54 am

Re: A way to display images posted with [img] bbcodes ?

Post by joebart72 »

I've just chosen crawl on index, uploaded the files and edited my index.php and and html files and made my settings :

Code: Select all

//---------SETTINGS------------------------------------------------------
// here u can enter the foren id's to show
$forum_ids_to_show = '118,669';
// enter as given: '7,9,10'
//----------------------------------
// make the setting, if you desired width or height here
$width_o_height = 'height';
// i find height more attractiv ;)
//----------------------------------
// crawl script ore not 
$crawl_o_not = 'yes';
// enter as given 'yes' or 'no'
//----------------------------------
// number of max pics to show (important if user have no javacript  enabled)
// (standard is auto-number of pics > but, for this is user-side javascript needed)
$max_pic_to_show  = 5;
// enter as given 5 or 6 etc.
//----------------------------------
// if u enter height, than the pic should be centered ? (yes or no)
// $center_or_what   = 'yes';
// for future releases / don't ask
//----------------------------------
// make the setting of max px here (counts for width or height)
$convert_mx_size = 80;
// don't make it to big
//---------SETTINGS------------------------------------------------------
But now my board can't keep looading on a blank page...
Last edited by joebart72 on Sun Jan 10, 2010 2:36 am, edited 2 times in total.
I learn English with phpbb.com :)
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: A way to display images posted with [img] bbcodes ?

Post by 4_seven »

hm, cant explain, bcs. users install this mod without problems.

check the install again and check if the folder images/viewforum_thumbs have chmod 777

if not checkout testwise the viewforum version
Current Mods | Mod Base | php(BB) programming | No help via PM
Locked

Return to “[3.0.x] MOD Requests”