php forum
php mysql forum
php mysql smarty
 
Topic Options
#268580 - 02/02/04 10:53 PM Photopost mini gallery on forum summary page?
SWFan_dup1 Offline
User

Registered: 11/27/02
Posts: 38
I've seen quite a few forums (mostly all VB's) that show random photo's from the photopost database on the forum summary page (usually near the top). While searching around here, I've found the Sidebar pal and IIP mods that allow you to generate random photopost PAL boxes. However, I would like my site to display three to four photo's horizontally between my forum banner and the top of the forum listing, identical to http://www.photopostdev.com/index.php?<br /><br />I'm using UBB.threads 6.4 and Photopost 4.6.6 at http://www.coreplanets.com Any hints or help would be appreciated.

Top
#268581 - 02/02/04 10:58 PM Re: Photopost mini gallery on forum summary page? [Re: Kayjey]
donJulio Offline
Code Monkey

Registered: 06/17/02
Posts: 682
Loc: CA, USA
_________________________
Too many men. There's too many people making too many problems, and not much love to go around. Can't you see this is the Land of Confusion? <img src="http://www.ubbdev.com/forum/images/graemlins/confused.gif" alt="" />

Top
#268582 - 02/02/04 11:08 PM Re: Photopost mini gallery on forum summary page? [Re: luan]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
SWFan the Photopostpal you see down the sidebar's etc can be modified very simply by moving the tr opening and closing tag out of the image look and put them right under the tbopen and over the tbclose Thus you get one row with 4 td's instead of 4 rows like you see.
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#268583 - 02/05/04 08:31 PM Re: Photopost mini gallery on forum summary page? [Re: sf49rminer]
SWFan_dup1 Offline
User

Registered: 11/27/02
Posts: 38
Okay, but I think I'm still confused. To use this custompal box don't I have to be running either IIP or Sidebarpal? I really don't want to, at least not now. I just thought there was some code I could insert into one of the existing UBBT templates that would pull the photo's right underneath the banner. Or am I missing something about using this modification?

Top
#268584 - 02/05/04 08:55 PM Re: Photopost mini gallery on forum summary page? [Re: Kayjey]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
No you do not need to run either.<br /><br />Rename it to whatever you want just make sure to follow the instructions as far as placing the photopost-inc.php file where the file can find it and filling it out. You then include the file where you want it at.
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#268585 - 02/05/04 10:23 PM Re: Photopost mini gallery on forum summary page? [Re: sf49rminer]
SWFan_dup1 Offline
User

Registered: 11/27/02
Posts: 38
I don't know PHP so I need a little help with this. Let's say I want it to show between the navigation row (where it shows Main Index, Search, Who's Online, etc. and the top row of the forum summary.<br /><br />Would I edit the ubbt_registerednav and unregisterednav templates, or would another be better?<br /><br />Also, what would the exact PHP coding look like to accomplish this?

Top
#268586 - 06/30/04 06:32 AM Re: Photopost mini gallery on forum summary page? [Re: Kayjey]
schrottenberg Offline
User

Registered: 04/27/01
Posts: 38
Loc: Vienna
some minor misspelling I suppose in line 38 of custombox3pal.php<br />
Code:
case "lastest":  

Top



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks