Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 05-14-2003, 07:14 PM
tomjinx1 tomjinx1 is offline
 
Join Date: Sep 2002
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 05-14-2003, 08:54 PM
u2page u2page is offline
 
Join Date: Dec 2002
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is a hack over at photopost.com that does this exactly - I have it installed on my forum and it works great.
Reply With Quote
  #3  
Old 05-15-2003, 12:09 AM
cinq's Avatar
cinq cinq is offline
 
Join Date: Oct 2002
Posts: 1,398
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 05-15-2003, 12:58 AM
gengar003's Avatar
gengar003 gengar003 is offline
 
Join Date: Apr 2002
Location: .::|The Matrix|::.
Posts: 181
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
eval( '$ppbutton = "' gettemplate'showthread_ppbutt' ) . '";' ); 
and if not, then set it to nothing.... *wishes someone would explain vbulletin mySQL queriying syntax to him*

That'd be on the showthread page, and you'd put $ppbutton in the postbit template...
Reply With Quote
  #5  
Old 05-16-2003, 04:51 PM
Alien's Avatar
Alien Alien is offline
 
Join Date: Oct 2001
Posts: 827
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #6  
Old 05-16-2003, 06:16 PM
tomjinx1 tomjinx1 is offline
 
Join Date: Sep 2002
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Something like that....

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.
Reply With Quote
  #7  
Old 05-17-2003, 07:14 PM
Alien's Avatar
Alien Alien is offline
 
Join Date: Oct 2001
Posts: 827
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That seems alot more complicated than what I'd want, but whatever people wanna make I'll end up using I guess.
Reply With Quote
  #8  
Old 05-20-2003, 05:06 PM
Alien's Avatar
Alien Alien is offline
 
Join Date: Oct 2001
Posts: 827
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Someone must be interested in taking this on.

<nudge> lol...
Reply With Quote
  #9  
Old 06-10-2003, 08:13 PM
dOuBLe_J
Guest
 
Posts: n/a
Default

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 -
Reply With Quote
  #10  
Old 06-25-2003, 04:05 PM
WebMasterAJ WebMasterAJ is offline
 
Join Date: Oct 2001
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would like to see this as well
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:52 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04584 seconds
  • Memory Usage 2,251KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (9)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete