The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Photopost Button in Postbit
Here is something that would be pretty cool...
I would like to have a hack that would check the users against the photopost database and see who has posted an image. If it finds a user, then it adds a gallery button where ever it is stated in the postbit templates. Currently I would like to see it beneath the edit quote buttons, on my site anyways... If this hack can be done I would appreciate it. Tom |
#2
|
|||
|
|||
There is a hack over at photopost.com that does this exactly - I have it installed on my forum and it works great.
|
#3
|
||||
|
||||
I believe that hack at PP.com places the button for ALL users , even if he/she hasnt uploaded any pics.
What i would like would be to only show that icon in the postbit IF the user has uploaded pics. |
#4
|
||||
|
||||
Well, here's my 2 bits. I have no Idea how to do this, but you'd probably want to SQL - query the photopost DB row for User, and have an if statement, saying, if their name shows up:
PHP Code:
That'd be on the showthread page, and you'd put $ppbutton in the postbit template... |
#5
|
||||
|
||||
I'd love to see this made as well, I only want to see the icon if a user actually has uploaded photos.
Anyone want to take this up? -Jason |
#6
|
|||
|
|||
Ok, how about this then...
How about a link in the Admin CP that you can click on and it would look in the Photopost database and look at the Photos table under the userid field. Then it would look in users profile at a field called Gallery. This field would be a yes or no radio type button and would be hidden from the users. It would then compare the userid's in the photopost database to the Gallery field. If the Gallery field is set to yes, then it will skip that member. If the Gallery field is set to no, then it would continue. After it has checked everyone, it would list the userid's sorta like when you do a search of the users. Beside each user would be a check box. Above and below the list of users would be a select all users check box. This would allow the admin to check the users that he wants or select all users. Once the user has been checked or select all is checked, then the php/script file would change the Gallery field in each users profile in the database to yes. If there are some users that the admin leaves the check box blank on then it does nothing to that users profile gallery field. then the only thing that would have to be done is create an image that says Gallery and link it to something like this.... Code:
http://www.nurv-clan.com/photopost/showgallery.php?cat=500&ppuser=$userid&thumb=1 The other way to do it is just have it that it checks the userid for vb with the userid field under the photos table and if there is a match, then display so and so template. Then have a new template called member_gallery and called that template anywhere you want to call it from. |
#7
|
||||
|
||||
That seems alot more complicated than what I'd want, but whatever people wanna make I'll end up using I guess.
|
#8
|
||||
|
||||
Someone must be interested in taking this on.
<nudge> lol... |
#9
|
|||
|
|||
Hello all.
Does anyone know if this hack was ever created? Not the static hack, but the one that would only show the icon in postbit IF the user has previously uploaded a pic? I'm SOOOOO interested in getting something like this implemented. Also, does anyone know if you can SKIN photopost? I know you can edit colors, etc. using stylesheets but I have a GREAT skin going on my site (www.eq-boss.com/index.php) and I would simply love it if it was possible to integrate with Photopost. Look at the difference --> www.eq-boss/photopost/index.php *sigh* Finally, is there a mod out there that can take either random pics from the all galleries or take "most popular" pics (based on pic ratings) and send it to a custom block on the vbPortal homepage? Thanks. You guys are the best. - jj - |
#10
|
|||
|
|||
I would like to see this as well
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|