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

   Attachmentlist to Del.icio.us Add to del.icio.us
  Digg Attachmentlist Digg it
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 (75 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 (35 downloads)

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

Top


Who's Online
0 Registered (), 38 Guests and 6 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Blogs, love em or hate em?
by AllenAyres
10/07/08 02:05 PM
What do you use to edit the files
by Ian_W
10/05/08 03:33 PM
BeyondCompare v3.00
by Ian_W
10/05/08 03:32 PM
Glossy Black Theme with Image Reflection
by Gizmo
10/05/08 02:17 PM
ShareThis
by Gizmo
09/28/08 05:06 AM
[7.3] Viewing MySQL logfiles made easier
by AllenAyres
09/27/08 09:57 PM
Looking for a simple upload script
by Murphdog
09/26/08 08:45 PM
New Mods
[7.3] Viewing MySQL logfiles made easier
by blaaskaak
09/24/08 05:39 PM
[7.3.1] add search to showmembers page
by blaaskaak
09/07/08 04:50 AM
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
pisa666, ghengis317, NitroX, Dogan, EliYah-
13345 Registered Users
Top Posters Last 30 Days
AllenAyres 12
blaaskaak 8
tackaberry 7
FREAK1 6
Mike L_dup1 4
Chris Bale 4
Ian_W 4

 

 

 
fusionbb message board php hacks