php forum
php mysql forum
php mysql smarty
 
Topic Options
#216563 - 05/09/02 05:50 PM Attachmentlist
Sat4all Offline
Member

Registered: 04/30/02
Posts: 151
Loc: The Netherlands
Using the original file from the index page hack and modifying it a bit I managed to put this together:<br />http://www.sat4all.com/ubbthreads/attachmentlist.php<br />Is there a way to make this page accessible to members only?<br /><br />Regards,<br /><br />Ron.
_________________________
Those who fail to read ask many questions:-)

Top
#216564 - 05/10/02 06:09 AM Re: Attachmentlist [Re: Pomegranate]
Cola Offline
Newbie

Registered: 03/25/02
Posts: 14
shure theres ever a way <img src="/forum/images/icons/wink.gif" alt="" /> <br />I added some games to my Site which are only avaible for members.. so it should not be a great problem...<br /><br />but 2 questions?<br /><br />a) are you plan to share your hack?<br />b) where did you get the BR3 ? I can´t find it in the memberarea....<br /><br />

Top
#216565 - 05/10/02 06:34 AM Re: Attachmentlist [Re: bjarnerasmussen]
Sat4all Offline
Member

Registered: 04/30/02
Posts: 151
Loc: The Netherlands
a.> Sure I'll share this. It is not a great hack. It took me 1 minute to make it. It is in fact no more that the original attachment page from the IIP hack with additional standard UBBT includes. <br /> <br />I want to share it when it is ready. Ready means a configuration option to make it accessible to members only, or not. <br /> <br />Anyone who knows how to do this? <br /> <br />b.> Just recently I was offered to beta test UBBT. It is not available in the member area yet, but it will be there soon I guess. <br /> <br />Regards, <br /> <br />Ron.


Edited by Toxicq (05/10/02 06:37 AM)
_________________________
Those who fail to read ask many questions:-)

Top
#216566 - 05/10/02 07:37 AM Re: Attachmentlist [Re: Pomegranate]
Cola Offline
Newbie

Registered: 03/25/02
Posts: 14
i could do make it so that there´s a option...<br /><br />just PM we if you want or send it to []webmaster@mondmurmel.de[/]

Top
#216567 - 05/10/02 07:22 PM Re: Attachmentlist [Re: Pomegranate]
Sat4all Offline
Member

Registered: 04/30/02
Posts: 151
Loc: The Netherlands
The first version of this hack modification (see attachment) makes attachments only accessible to members and has it's own language file:-)<br />I think there is still a small problem with displaying ratings. Can someone confirm this?<br /><br />Regards,<br /><br />Ron.


Attachments
47611-attachmentlist.zip (86 downloads)

_________________________
Those who fail to read ask many questions:-)

Top
#216568 - 05/10/02 09:40 PM Re: Attachmentlist [Re: Pomegranate]
Dave_L_dup1 Offline
Addict

Registered: 04/23/02
Posts: 1929
Loc: Virginia, USA
Suggestion: add the file sizes and last-modified dates to the display. <img src="/forum/images/icons/wink.gif" alt="" /> <br /><br />$base_path = ...;<br />$filename = ...;<br /><br />// $bytes = file size in bytes<br />// $mdate_local = file last-modified date (RFC 822 format)<br />$bytes = filesize ("$base_path/$filename") or die("filesize($filename)");<br />$mdate_unix = filemtime("$base_path/$filename") or die("filemtime($filename)");<br />$mdate_local = date('r', $mdate_unix);<br />
_________________________
UBB.threads beta tester / threadsdev.com moderator
Software consulting services including UBB.threads problem resolution / installs / upgrades / customization.

Top
#216569 - 05/11/02 03:18 AM Re: Attachmentlist [Re: joeuser]
Sat4all Offline
Member

Registered: 04/30/02
Posts: 151
Loc: The Netherlands
Dave_L, you are free to modify this version to you likings and attach is to your message <img src="/forum/images/icons/wink.gif" alt="" /><br />The idea is very good. I like it but I am not a great PHP coder <img src="/forum/images/icons/grin.gif" alt="" /> <br />I managed to create this hack by just adding the main and header includes and standard UBB threads userob check to JustDave's original attachmentlist file.<br /><br />Regards,<br /><br />Ron.
_________________________
Those who fail to read ask many questions:-)

Top
#216570 - 05/11/02 07:25 AM Re: Attachmentlist [Re: joeuser]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
I like the file size idea <img src="/forum/images/icons/smile.gif" alt="" /><br /><br />I'm not to sure if the last modified date would matter though. The last modified date should be the same as the time the post was added as there is no way to edit the attachment at this time.
_________________________
~Dave
ChattersOnline.com

Top
#216571 - 05/11/02 08:21 AM Re: Attachmentlist [Re: sjsaunders]
Sat4all Offline
Member

Registered: 04/30/02
Posts: 151
Loc: The Netherlands
Dave, do you know why ratings are not showing on the attachmentlist.php?<br /><br />Regards,<br /><br />Ron
_________________________
Those who fail to read ask many questions:-)

Top
#216572 - 05/11/02 08:25 PM Re: Attachmentlist [Re: Pomegranate]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
No I didn't know IIP's attachment list ratings were not showing... it seems to be working for me. <img src="/forum/images/icons/confused.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#216573 - 05/12/02 03:02 AM Re: Attachmentlist [Re: sjsaunders]
Sat4all Offline
Member

Registered: 04/30/02
Posts: 151
Loc: The Netherlands
Do you mind taking a look at the script I uploaded here?<br /><br />Regards,<br /><br />Ron
_________________________
Those who fail to read ask many questions:-)

Top
#216574 - 05/12/02 04:33 AM Re: Attachmentlist [Re: Pomegranate]
Sat4all Offline
Member

Registered: 04/30/02
Posts: 151
Loc: The Netherlands
Never mind, problem fixed!<br />I forgot the images <img src="/forum/images/icons/crazy.gif" alt="" /> haha....<br /><br />Regards,<br /><br />Ron.


Attachments
47677-Attachment_list.zip (47 downloads)

_________________________
Those who fail to read ask many questions:-)

Top


Who's Online
0 registered (), 22 Guests and 7 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Wisdom needed
by Gizmo
Yesterday at 10:54 AM
How to hide sub forums from summary page
by blaaskaak
12/03/08 09:54 AM
Spell Check [beta]
by Bill B
12/01/08 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
12/01/08 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
12/01/08 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
12/01/08 09:33 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
New Mods
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
Truth, David DelMonte, nick1, Begbie, cenk
13364 Registered Users
Top Posters
AllenAyres 25452
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks