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 12-19-2012, 12:34 PM
reishiki reishiki is offline
 
Join Date: May 2012
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Profile Field -> Postbit Modification

Hello,

I need a review of the possibility and complexity of my potential modification request.

The modification utilizes a set of values in the profile options which affect postbit in the thread view. I will try to explain this in as much detail I can.

1.
First attachment: https://vborg.vbsupport.ru/attachmen...9&d=1336418260

This is the default option layout, using custom profile fields. For this entire feature to work, the user has to select 3 options, no less. vBulletin allows to specify maximum amount of selected options, but I need minimum too.

There's also an option for ordering the selections.

2.
Second attachment: https://vborg.vbsupport.ru/attachmen...0&d=1336418260

Once 3 options have been selected, user can rearrange the order.

3.
Third attachment: https://vborg.vbsupport.ru/attachmen...2&d=1336418780

The 3 options selected in the profile then show corresponding images (each field is connected to an image) in the postbit.

And I think that'd be it. If something is unclear, do tell and I'll clarify.

Similar ideas that execute the same, better or simpler are welcome.

Regards,
Reply With Quote
  #2  
Old 12-20-2012, 10:26 AM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll try to give you some kind of answer - I don't think what you're proposing is all that difficult, but to be honest I'm not 100% sure it can be done using the plugin system. If you don't mind modifying the vb files then it shouldn't be too difficult. (I know that's still kind of vague).

But what about this: just make 3 single selection menus fields with the same options in each, then you will automatically have exactly 3 selections in a given order, and you only have to edit your postbit template and put in {vb:raw post.fieldX}, {vb:raw post.fieldY}, and {vb:raw post.fieldZ} (or use those values to build image names for example). Edit: Oh, well, I guess that would allow the same value to be selected twice.
Reply With Quote
Благодарность от:
reishiki
  #3  
Old 12-20-2012, 01:43 PM
reishiki reishiki is offline
 
Join Date: May 2012
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I wouldn't mind modifying files, I already changed some things in the templates.

Your suggestion sounds fairly simple, but not allowing same values is desireable. Thank your for the effort, if you think of any more ideas, do post them.
Reply With Quote
  #4  
Old 12-30-2012, 07:32 PM
reishiki reishiki is offline
 
Join Date: May 2012
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
But what about this: just make 3 single selection menus fields with the same options in each, then you will automatically have exactly 3 selections in a given order, and you only have to edit your postbit template and put in {vb:raw post.fieldX}, {vb:raw post.fieldY}, and {vb:raw post.fieldZ} (or use those values to build image names for example). Edit: Oh, well, I guess that would allow the same value to be selected twice.
So I was thinking about this a bit... Could we wrap a condition around those three fields saying the changes can't be saved if there are multiple same entries selected?
Reply With Quote
  #5  
Old 01-02-2013, 04:26 PM
reishiki reishiki is offline
 
Join Date: May 2012
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For now, I would just like to know if this is a possible modification. If anyone knows of another website I could post this on, do tell.
Reply With Quote
  #6  
Old 01-03-2013, 05:28 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry. I know it's been kind of slow around here so there aren't as many people around to give you an answer. Anyway, it can certainly be done. As I mentioned before, I'm not certain if it can be done with plugins, but if it can't, it can certainly be done by modifying one or more of the vbulletin php files. It would be nice if someone knew offhand what needed to be done, but unfortunately the only way I would know is if I went ahead and tried to do it.
Reply With Quote
  #7  
Old 01-03-2013, 07:27 PM
reishiki reishiki is offline
 
Join Date: May 2012
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome, that's great to hear. Do you think it would be better if I posted it in the paid services area? I was willing to send a little token of appreciation to whomever would do it, so straight up paid request might yield the optimal result.

Thanks for your effort, I appreciate it. So what we need to know at this point is whether it can be done with a plugin. It certainly sounds convenient as a plugin, as it would only need a regular installation, right? Otherwise it's modifying files.
Reply With Quote
  #8  
Old 01-03-2013, 10:24 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, if you want to pay someone something to do it, then you should post that request in the paid request forum. Even if things weren't as slow here as they are, I think it's more likely that an unpaid request would get implemented if it were something that would be of more general interest.

I also feel like I should say that I haven't given you much of an answer at all. You originally asked for an estimate of the complexity, and I pretty much said only that it can be done, which you probably already knew. I'm sorry I couldn't be more specific. But maybe the thing to do is to post in the paid request forum and ask for estimates and see what responses you get.

Also if you do post there make sure to read the stickied threads in that forum and be careful of who you hire, the paid request forum is provided to use "at your own risk". If things go wrong, we can't do anything to help.
Reply With Quote
  #9  
Old 01-04-2013, 11:29 AM
reishiki reishiki is offline
 
Join Date: May 2012
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would prefer if it was done in this open, voluntary way. It is a niche feature, but it isn't anything groundbreaking and I hope someone will take interest in it.
Reply With Quote
  #10  
Old 01-04-2013, 05:36 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd been thinking about some more general type of way to expand the types of controls you can have to set profile values, but I have to admit that if the past is any indicator, my ideas don't have much of a chance of actually getting implemented (by me, at least).
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 08:17 PM.


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.04448 seconds
  • Memory Usage 2,257KB
  • Queries Executed 13 (?)
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_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete