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 (279 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 (214 downloads)

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

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