vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - show all attachments from selected user (https://vborg.vbsupport.ru/showthread.php?t=233261)

ageurtse 01-15-2010 10:00 PM

show all attachments from selected user
 
1 Attachment(s)
This mod shows all attachments submited by the selected user.


history
- v1.20 some fixes for vb 4.0.2, and tab position selection
- v1.10 Some small leftovers changed
- v1.10 RC2 added usergroup permision
- v1.10 RC1 added lightbox

Todo in next version
- information displaying when hovering over picture
- information displaying when showen in lightbox

Wish list
[S]- add permisions <- not realy a need for me (maybe a will add this later)
[/S]- add selection box for admins to delete a attachment <- this can be done in backend.


installation,

see readme file inside the zip file.

ageurtse 01-16-2010 11:21 AM

reserved by author

Forum Lover 01-16-2010 11:56 AM

Will it be possible to put a select option so that admins can delete those if they want to? Tagged.

ageurtse 01-16-2010 12:23 PM

that is not planned, now at this moment i'm working on the upgrade of our board.
if that is done and it run's smooth'i will whatch into it.

hakan68 01-16-2010 12:48 PM

Thanks installed

mandingo 01-16-2010 02:56 PM

Some problems:

http://internetdomainnamedotcom.com/...s/46bekijk.jpg

Then I clicked it and got an error.

HTML Code:

Database error in vBulletin 4.0.1:

Invalid SQL:

                        SELECT attachment.attachmentid, attachment.contentid, attachment.userid, post.postid, post.threadid, post.visible,thread.forumid,
                        thread.title, thread.open
                        FROM vb3_attachment as attachment
                        LEFT JOIN vb3_post AS post ON (post.postid = attachment.contentid)
                        LEFT JOIN vb3_thread as thread on(post.threadid = thread.threadid)
                        LEFT JOIN vb3_deletionlog AS deletionlog ON(attachment.contentid = deletionlog.primaryid AND type = 'post')
                        WHERE attachment.userid = 1
                        AND (
                        thread.forumid IN(0,47,26,43,17,22,45,23,1,28,31,36,35,2,37,25,4,8,13,15,20,27,39,5,33,11,24,3,6,14,29,12,34,7,18)
                        AND thread.visible = 1
                        AND post.visible = 1
                        AND deletionlog.primaryid IS NULL);

MySQL Error  : Table 'xxxxxxx.vb3_attachment' doesn't exist
Error Number  : 1146
Request Date  : Saturday, January 16th 2010 @ 10:52:16 AM
Error Date    : Saturday, January 16th 2010 @ 10:52:16 AM
Script        : http://xxxxxxxxxxxxxxxxxx?1=&tab=AJGattach
Referrer      : http://xxxxxxxxxxxxxxxxxxxxxxxxxx
IP Address    : xxx.xxxx.xxxx
Username      : Mitch
Classname    : vB_Database
MySQL Version : 5.1.30


ageurtse 01-16-2010 03:33 PM

i found what is wrong, i'm going to work on a fix.

for now you can alter in the plugin AJGattach member profile tab the prefix before the table names.
this is in my case vb3_ you can alter this by hand as a work a round.

when i finished it i will reupload the new file.

above problem is solved

mandingo 01-16-2010 04:05 PM

:( tried update,still error and language still Dutch
HTML Code:

Database error in vBulletin 4.0.1:

Invalid SQL:

                        SELECT attachment.attachmentid, attachment.contentid, attachment.userid, post.postid, post.threadid, post.visible,thread.forumid,
                        thread.title, thread.open
                        FROM vb3_attachment as attachment
                        LEFT JOIN vb3_post AS post ON (post.postid = attachment.contentid)
                        LEFT JOIN vb3_thread as thread on(post.threadid = thread.threadid)
                        LEFT JOIN vb3_deletionlog AS deletionlog ON(attachment.contentid = deletionlog.primaryid AND type = 'post')
                        WHERE attachment.userid = 125
                        AND (
                        thread.forumid IN(0,47,26,43,17,22,45,23,1,28,31,36,35,2,37,25,4,8,13,15,20,27,39,5,33,11,24,3,6,14,29,12,34,7,18)
                        AND thread.visible = 1
                        AND post.visible = 1
                        AND deletionlog.primaryid IS NULL);

MySQL Error  : Table 'xxxxxxxxxxx.vb3_attachment' doesn't exist
Error Number  : 1146
Request Date  : Saturday, January 16th 2010 @ 12:01:03 PM
Error Date    : Saturday, January 16th 2010 @ 12:01:03 PM
Script        : http://xxxxxxxxxxxxxxxxxxxxxxxxxx?125=&tab=AJGattach
Referrer      : http://xxxxxxxxxxxxxxxxxxx/3835-Best-of-Pride-Episode-1-List-of-Fights-Shown
IP Address    : xx.xxxx.xxxx.xxx.x.x.x.x
Username      : Mitch
Classname    : vB_Database
MySQL Version : 5.1.30


ageurtse 01-16-2010 04:24 PM

sorry, i did uploadt the wrong file

mandingo 01-16-2010 04:40 PM

Hi,it's me again.
It works!!

but:
click for screenshot

Not sure if this is a me thing or a you thing.
Sorry if i'm being a pain. :(

ageurtse 01-16-2010 04:42 PM

looks like a me thing, looks like a scaling problem.

i see that this user has dual attachments, is this right ?

mandingo 01-16-2010 04:45 PM

Quote:

Originally Posted by ageurtse (Post 1957484)
looks like a me thing, looks like a scaling problem.

i see that this user has dual attachments, is this right ?

Not sure what you mean.
One pic did get uploaded twice. but one of them is all blown up (as you can see)

Sador 01-16-2010 04:46 PM

Seems nice, I'm gonna try this out once it's a bit more stable. :)

ageurtse 01-16-2010 04:50 PM

@sador, oke now problem

@mandingo, yes i see, i'm already working on it.

Zaiaku 01-16-2010 06:23 PM

This needs permission since I wouldn't want everyone to be able to use this.

ageurtse 01-16-2010 07:39 PM

I write it on the wish list. At this moment i discoverd a bug. I'm trying to solve it.

mandingo 01-16-2010 08:13 PM

Looking way better,only thing now thumbnails are squished.

ageurtse 01-16-2010 08:20 PM

what do you mean by squished ? maybe a screen shot ?

Hornstar 01-16-2010 08:27 PM

This has lots of potential, just waiting for those couple of requested features and bug fixes. Tagged for when I upgrade to VB4 tho.

mandingo 01-16-2010 08:36 PM

Quote:

Originally Posted by ageurtse (Post 1957655)
what do you mean by squished ? maybe a screen shot ?

http://internetdomainnamedotcom.com/...s/71squish.gif

ageurtse 01-16-2010 08:48 PM

can you figure out what the dimensions are from that image. or maybe you could send it to me.
then i upload it again and see what is does on my board.

you have pm

Verionia 01-16-2010 10:20 PM

Yes, permissions would be nice... for admin eyes only.

ageurtse 01-17-2010 10:38 AM

i'm working on the problem mandigo point me to.
this could thake a bit of time, so keep watching this thread for the solution.

angeljs 01-17-2010 05:04 PM

1 Attachment(s)
This has fantastic potential, and I really need something like this. However, the thumbnails are distorted, which I assume has something to do with the sizing configuration...I can't find the template where I would change that.

This also seems to miss out certain thumbnails...I assume that's because there's also an attachment which isn't the first image in the post and the mod is trying to call that instead? (See attached image.)

Also, it would be great if when clicked the link opens in the same window and takes you to the actual post where the attachment is held rather than just the image.

I really would love to see this in it's finished form! :)

ageurtse 01-17-2010 05:59 PM

Is it possible that the white space's are not realy image's but some other kind of attachment ?

the resizing is don in a plugin. it's not realy resizing i just altered the width and height of the thumb.

i will look into it, that when the attachment is not an image it should not be displayed.

ageurtse 01-22-2010 04:15 AM

update information, i'm working on a rewrite since there are several problem's. it is now at 70% completet.

so you will have to wait a while before i release this new i hope better version.

mandingo 01-22-2010 04:24 AM

Good on ya ageurtse. :)

sematopdemir 01-22-2010 04:55 AM

Thanks

ageurtse 01-23-2010 12:42 PM

work is still in progress, stil a few thing a hope to release the beta in the next 48 hours, if my wife let me work on it :)

ageurtse 01-23-2010 01:37 PM

preview update, so you people can give me input on what is wrong and what not.

Forum Lover 01-23-2010 02:29 PM

- add selection box for admins to delete a attachment <- this can be done in backend.

How?

ageurtse 01-23-2010 02:36 PM

cp->attachment search attachment or user or whatever and then select attachment to delete.

i think this option won't be in this mod. or someone else would give me some info on how to delete a attachment.

ageurtse 01-24-2010 07:28 PM

Final update, if it is right it all works now. I hope to hear

mandingo 01-24-2010 07:39 PM

Quote:

Originally Posted by ageurtse (Post 1965508)
Final update, if it is right it all works now. I hope to hear

Looked great on my profile as I have attachments,but when a user has no attachments their profile page has
Quote:

vBulletin Message

There are no attachments to display


and that's it. when I disabled it it showed their normal profile

ageurtse 01-25-2010 03:36 AM

i solved it here, now i'm at my work and i can't upload.
When i'm at home tonight i will update this mod. and maybee tonight i will add lightbox.

Moondust 01-25-2010 05:36 AM

Nice - it work - it´s verry good.

I need the same as "latest xx postet Pictures" in a blank Site :-)

Moondust 01-26-2010 06:02 AM

Quote:

Originally Posted by mandingo (Post 1965518)
Looked great on my profile as I have attachments,but when a user has no attachments their profile page has


and that's it. when I disabled it it showed their normal profile



You have modify this Problem now ?

When you click a Username and this User has no Attachments.... you can not see the Profil.

Moondust 01-26-2010 11:29 AM

sorry, i have not see that you update yesterday.

But now... 2 other Problems. The Pictures not more on rows side by side and all Pictures no Thumbs !

molieman 01-26-2010 11:30 AM

Quote:

installation,

unzip the file, and upload the files in the upload directory.
next install the plugin and your ready to go.
When you say "upload the files in the upload directory."

Where? In the root, forums directory, or where?

Moondust 01-26-2010 11:35 AM

Quote:

Originally Posted by molieman (Post 1966972)
When you say "upload the files in the upload directory."

Where? In the root, forums directory, or where?

You must not Upload this per FTP ......


....... go in your Adminpanel and upload/install.... thats all.


All times are GMT. The time now is 07:43 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01318 seconds
  • Memory Usage 1,819KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_html_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete