Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
AJAX as User Option Details »»
AJAX as User Option
Version: 1.0.0, by sabret00the sabret00the is offline
Developer Last Online: Apr 2010 Show Printable Version Email this Page

Category: End-User Options - Version: 3.6.1 Rating:
Released: 11-26-2006 Last Update: 11-26-2006 Installs: 24
Template Edits
 
No support by the author.

I needed this and put in a request, weeks later i was like "nobody cares" and bumped it, Psionic Vision kindly reminded me that i was an Advanced Coder and told me i should do it myself. I went to sleep, woke up, had ten minutes and viola i filled my own request. Moral of the story? <insert moral later>.

OK SO WHAT DOES THIS DO? it's a nifty little do-dad that makes AJAX a user option.

WHY WOULD ANYONE WANT THAT? some of my users have problems with AJAX, i dunno why, i dunno where but i'm the admin so i have to care.

WHY NOT JUST DISABLE AJAX? i done that, it was boring, not to the extent i'm going to go out and adopt a demon child named AJAX, nurture it into my own little cuddly bubble of happy happy joy joy and integrate it into all my hacks from now on but yahhhhhh, i kinda liked the features in which AJAX has brought to me, not to mention the whole AJAX cron thing that Code Monkey made.

SO THAT'S IT? yup

CAN WE SEE A SCREEN SHOT? yes, unfortunately however, you'll have to get an American to do it as firearms are illegal in this country and monitors are expensive, not to mention i'm not really sure how i'd cope with having put a huge hole in my only monitor.

DID YOU KNOW YOU NAME DROPPED TWICE IN THIS RELEASE? yes, i'm a huge fan of The Game, i wanna be just like him.

SO WE'RE DONE? Absolutely.

EVEN THOUGH YOU KNOW THAT NO ONE WILL CARE FOR THIS? yup

OK BYE THEN? ttfn.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 11-27-2006, 09:27 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sabret00the View Post
indeed, however i'm sure there are a million ways in which this could've been done. i simply done what i felt was the most graceful way of achieving the task. feel free to release your own version though, we compare methods over a cup of tea at which point we'll both realise sharing less than ten lines worth of code really doesn't require scrutinisation of successful methods to achieve simple tasks. if users get confused over adding profile fields they really shouldn't be here in the first place.
No, it's ok, not that important. Just my own preference, but your solution is good too.
Reply With Quote
  #23  
Old 11-28-2006, 06:48 AM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah something like this should be vb default, it will be useful for those members who do have problems. thanks.
Reply With Quote
  #24  
Old 11-28-2006, 03:18 PM
Masiello's Avatar
Masiello Masiello is offline
 
Join Date: Jul 2005
Location: Italy
Posts: 426
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for yours comment
Reply With Quote
  #25  
Old 12-06-2006, 02:00 PM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks sabret00the - I wish you would release more hacks just so I can read your info posts- very funny. great hack, also.
Reply With Quote
  #26  
Old 01-02-2007, 01:51 AM
Brew's Avatar
Brew Brew is offline
 
Join Date: Sep 2002
Posts: 359
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This seems to be a great idea. I love giving peeps as many options as possible to make their stay more enjoyable. So this is the right direction.

But I can't seem to find anywhere to administer this mod.

Your directions say:

Options:Yes
No
Default: No
Display Order: 25
Field Required: No
Field Editable by User: Yes
Private Field: Yes
Field Searchable On Members List: No
Show on Members List: No

I really have no idea what all that means. Is there somewhere in the admincp for setting this?

I have installed but I don't see any new settings in the usercp for AJAX.

What am I missing?
Reply With Quote
  #27  
Old 01-13-2007, 10:45 PM
Antivirus's Avatar
Antivirus Antivirus is offline
 
Join Date: Sep 2004
Location: Black Lagoon
Posts: 1,090
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice work Sabretooth.

Quote:
Originally Posted by Brew View Post
But I can't seem to find anywhere to administer this mod. Is there somewhere in the admincp for setting this? What am I missing?
In addition to importing the product xml, you also have to manually create the custom user profile field within your AdminCP (as stated in the install instructions which Sabretooth included in the zip file)...

Go to your AdminCP => User Profile Fields => Add New User Profile Field, and enter the details in the instructions. If your custom field ends up having an id other than 'field28', just change the field# in your xml to match.
Reply With Quote
  #28  
Old 01-13-2007, 11:11 PM
Brew's Avatar
Brew Brew is offline
 
Join Date: Sep 2002
Posts: 359
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Antivirus View Post
In addition to importing the product xml, you also have to manually create the custom user profile field within your AdminCP (as stated in the install instructions which Sabretooth included in the zip file)...

Go to your AdminCP => User Profile Fields => Add New User Profile Field, and enter the details in the instructions. If your custom field ends up having an id other than 'field28', just change the field# in your xml to match.
Thank you for your reply Antivirus

What kind of what field type do I use?

Single-line text box?
multiple-line text box?
single-selection radio button?

Thanks again!
Reply With Quote
  #29  
Old 01-14-2007, 01:20 PM
Antivirus's Avatar
Antivirus Antivirus is offline
 
Join Date: Sep 2004
Location: Black Lagoon
Posts: 1,090
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

use Single-Selection Radio Buttons
Reply With Quote
  #30  
Old 09-12-2009, 05:02 PM
the_ace the_ace is offline
 
Join Date: Jul 2007
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this mod. You're a life saver!

Oh, this works fine with VB 3.8.3 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 01:06 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.04627 seconds
  • Memory Usage 2,296KB
  • Queries Executed 24 (?)
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
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)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
  • (9)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_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