Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
Quick Web Search Details »»
Quick Web Search
Version: 1.0.1, by derekivey derekivey is offline
Developer Last Online: Jan 2010 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 09-18-2005 Last Update: 09-29-2005 Installs: 9
Uses Plugins
 
No support by the author.

Quick Web Search
Developers: Floris & derekivey
Version: 1.0.1
vBulletin Version: 3.5.4
File Edits: 0
Template Edits: 0
New Phrases: 5
Difficulty: Easy

Description: This Hack Adds a Quick Web Search to your AdminCP. Right now it supports Google, Yahoo, Ask Jeeves, and MSN. You may disable any of those in vBulletin Options under Admin Control Panel Options.


Screenshots of this hack are below.

Please click If you installed this hack.

Thanks!

Supporters / CoAuthors

Show Your Support

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

Comments
  #12  
Old 09-25-2005, 04:10 PM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KirbyDE
There are 3 Hooks on the Index Page - shouldn't be too hard to use one of them
I am currently coding the product version of this source code hack. I will soon post my .zip here for Derek.
Reply With Quote
  #13  
Old 09-25-2005, 04:16 PM
derekivey derekivey is offline
 
Join Date: Apr 2005
Location: Pennsylvania, USA
Posts: 1,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good job Floris
Reply With Quote
  #14  
Old 09-25-2005, 04:46 PM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Upgrade instructions:
uninstall the source code hack and follow install instructions.

Install instructions:
Add this as a new product, import the .xml

Screenshot:
Here.
Reply With Quote
  #15  
Old 09-25-2005, 04:54 PM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am sure someone knows how to make a query that works, but I have too little time right now to try things out on a fresh install.

Basicly, if you want this right now and don't want to wait for someone to update the product .xml with install/uninstall query & settings turn on debug code and go to the vbulletion options > admincp options > and click on 'add a new setting', and fill it in like the below screenshot.

Then import the .xml from this .zip which is ready for the switch 1/0

I am sure kirby knows
Reply With Quote
  #16  
Old 09-25-2005, 08:46 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Floris
I am sure kirby knows
Hmm ... what should I know?
Don't really understand what you were talking about queries, sorry.
This Hack does not seem to need any install/uninstall codes?

Also, I think that a setting to turn this featurs On/Off is redundant - one could just activate/deactivate the product?
Reply With Quote
  #17  
Old 09-25-2005, 08:57 PM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KirbyDE
Hmm ... what should I know?
Don't really understand what you were talking about queries, sorry.
This Hack does not seem to need any install/uninstall codes?

Also, I think that a setting to turn this featurs On/Off is redundant - one could just activate/deactivate the product?
Then we'll leave the on/off option out.

But to teach derek and others, what would those queries be?
Reply With Quote
  #18  
Old 09-25-2005, 09:00 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Which queries, for the setting?
None at all - Product Management does take care of it

One would only have to wrap the Code in
PHP Code:
if ($vbulletin->options['use_web_search'])
{
// Code here

But as said, that just seems to be redundant
Reply With Quote
  #19  
Old 09-26-2005, 12:32 AM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KirbyDE
Which queries, for the setting?
None at all - Product Management does take care of it

One would only have to wrap the Code in
PHP Code:
if ($vbulletin->options['use_web_search'])
{
// Code here

But as said, that just seems to be redundant
Yes, whatever you think if it is redundant or not is not the point here. I am just trying to understand how the product.xml will look if we would want a vbulletin options setting for the group admincp - the code you gave won't make a magic option appear out of thin air in the admin option group. How does it get there? the product.xml only has means like this:

<settinggroup name="admincp" displayorder="200">
<setting varname="use_quick_web_search" displayorder="60">
<datatype>free</datatype>
<defaultvalue>1</defaultvalue>
</setting>
</settinggroup>

but that is just telling it what to use.. it still won't generate the option, why ? .. because you dont tell it what the title or description would be for example.. or where it stores a value, what value, etc..

For that, a query has to be run, like shown on the screenshot you can enter that manually with running in debug, add setting .. but the product can have this in the <code> part for install & uninstall code. That's the query I am trying to understand how to figure that out.

Adding the setting in the admincp through debug and then going to the product > export > .. won't make that appear in the .xml
Reply With Quote
  #20  
Old 09-26-2005, 12:51 AM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Floris, the product XML you posted here contains everything to make the setting appear.
All settings are stored in table setting, column value - each setting is identified by its Varname.
Title and Description are just Phrases, and those are in the Product XML as well.

So I don't really understand what you are talking about queries?

Also, please don't get me wrong on the redundant stuff.
I didn't want to argue, I just wanted to point this out, as others might not think of the possibility to just disable the product.
Reply With Quote
  #21  
Old 09-26-2005, 12:55 AM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KirbyDE
Floris, the product XML you posted here contains everything to make the setting appear.
All settings are stored in table setting, column value - each setting is identified by its Varname.
Title and Description are just Phrases, and those are in the Product XML as well.

So I don't really understand what you are talking about queries?

Also, please don't get me wrong on the redundant stuff.
I didn't want to argue, I just wanted to point this out, as others might not think of the possibility to just disable the product.
So when you import the product, the acp > vboptions >vboptions > admincp options > has a new option with exactly the settings like in the screenshot? https://vborg.vbsupport.ru/attachmen...chmentid=34808 ?
Reply With Quote
Reply

Thread Tools

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 03:58 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.07180 seconds
  • Memory Usage 2,311KB
  • Queries Executed 26 (?)
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
  • (2)bbcode_php
  • (5)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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