Register - Login

phpBB Gallery

Re: phpBB Gallery

Postby antropos on Tue Jan 29, 2008 11:57 am

Okay, thanks for the reaction. Pretty cool site!
antropos
 
Posts: 31
Joined: Sun Jan 20, 2008 2:08 pm

Re: phpBB Gallery

Postby antropos on Wed Jan 30, 2008 2:38 am

I managed to successfully install de phpbb3 Gallery. Still, a few bugs remain.

#1: The little Gallery-icon does not appear in de top menubar.
#2: Under Details I get this;
Poster: antropos
Image Title: testbeeld
Image Description:
{ IMAGE_BBCODE }: [album]3[/album] <<<------- What to do with this???
Geplaatst: 30 jan 2008, 02:22
Views: 7
Look here: http://www.soulproviders.be/gallery/ima ... d=3#rating

#3: No "Upload Image" image appears? Although all the pictures are in place...

Anyone?
antropos
 
Posts: 31
Joined: Sun Jan 20, 2008 2:08 pm

Re: phpBB Gallery

Postby antropos on Wed Jan 30, 2008 12:04 pm

Kamahl wrote:few days ago, i did this mod, random foto of TS gallery or phpbb gallery everywhere on forum. u can add it to new block on portal, or in index.php. its only a script which u paste into some block.

phpBB_Gallery_0.1.2
Code: Select all
<!-- PHP -->
$pole=mysql_fetch_object(mysql_query("SELECT pic_id FROM `hardheavy_album` WHERE 1 ORDER BY RAND() LIMIT 1")); //change your table prefix
$id=$pole->pic_id;
$img = "http://www.hardheavy.sk/gallery/thumbnail.php?pic_id=$id"; //change your url
$url = "http://www.hardheavy.sk/gallery/image_page.php?id=$id"; //change your url
print "<a href=".$url."><img src=".$img." border=0></a>";
<!-- ENDPHP -->



I'm afraid you will have to give some additional comments on this block-story. My php knowledge is to basic to make this work...

Cheers.
antropos
 
Posts: 31
Joined: Sun Jan 20, 2008 2:08 pm

Re: phpBB Gallery

Postby

Kamahl
on Wed Jan 30, 2008 5:49 pm

1, it appears ;)
2, u can delete that line from template file. it ll be ok
3, upload that inmage. or u can delete image and have only text "Upload image", i think its better

ad random picture: tell me, where u want to have block with random picture. on portal? in next block on the side? if yes, create file on template/portal/blocks with name for examplte random_pic.html, than paste there some table code from your style and at the end paste this code into content that block. than open index_body.html and add that block to show on portal.

sry for my english :)
My modifications and tutorials : www.phpbb.hardheavy.sk
I am away (Croatia) for next week
Kamahl

User avatar
 
Posts: 42
Joined: Fri Aug 17, 2007 12:40 pm
Location: Slovakia

Previous

Return to [1.1.x] Suggest Feature



Who is online

Users browsing this forum: No registered users

cron