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

Reply
 
Thread Tools
CFM: Directory Details »»
CFM: Directory
Version: 0.1, by Throtex Throtex is offline
Developer Last Online: May 2011 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.6.0 Rating:
Released: 09-23-2006 Last Update: Never Installs: 17
DB Changes Uses Plugins Template Edits
Additional Files Is in Beta Stage  
No support by the author.

Title: "CFM: Directory"
-------------------------------------------------
Author: Sal Bezos (webmaster@carforummisfits.com)
Date of Creation: September 23, 2006
Version: 0.1 (9/23/2006)
Home: http://www.carforummisfits.com/
-------------------------------------------------

Purpose:
--------
This product for vBulletin creates a directory page for any sort of directory-type content. It uses collapsable rows in a table to present large amounts of data in a compact space. Items are added to the list via the AdminCP. Entry options include a heading, a blurb (shown under the heading when you expand the row), and a custom webpage with additional contents that may be optionally enabled for each directory entry.

I designed this for my forum in order to provide a list of affiliated advertisers to my users. However, it can be used to compactly display many other types of information, such as contact information. Since support is limited, I encourage you to modify this for your own uses (and release any derivative works on vbulletin.org) provided you provide an attribution to me.


Tested:
-------
This product has been tested on a modified vBulletin 3.6.0 installation. There is no reason why it should not work in the same manner on any 3.5.x installation, but it has not and will not be tested by the author.


Included Files:
---------------
- README.txt
- cfmdirectory.php
- admincfmdirectory.php
- product-cfmdirectory.xml
- sshot1.png
- sshot2.png
- sshot3.png
- sshot4.png
- sshot5.png
- sshot6.png


Installation:
-------------
1. Upload the admincfmdirectory.php file to your admincp directory, and set proper file permissions.

2. Upload the cfmdirectory.php file to your forum root directory.

3. In your admin panel, go to Plugins & Products / Manage Products / Add/Import Product and import the "product-cfmdirectory.xml" product file. If this is your first installation of this product, select the "No" radio button in the "Allow Overwrite" option. If you are upgrading or reinstalling, select the "Yes" radio button. Click the "Import" button.

4. Visit http://<yourhostname>/forums/cfmdirectory.php to verify that the page appears. Now you're ready to add items to the directory.

5. In your admin panel, go to vBulletin Options and select the "CFM: Directory" options from the list.

6. You may choose to enter text in the Directory Introductory Text box. You can use HTML here. This text will appear above the text of your directory. Click the Save button if you want to save any changes.

7. Click the Directory Entries link.

8. Click on Create New Entry

9. Enter a heading for your directory item, and a blurb (HTML is allowed). The blurb will appear when you expand the directory item.

10. Optionally, enter something in the content block. This will appear on its own page, kind of like a personal web page for the item you are adding. If you want to use this, be sure to set the content page radio button to "Yes".

11. Click on Submit New Entry.

12. Revisit http://<yourhostname>/forums/cfmdirectory.php to ensure that the item appears as expected.

13. Lather, rinse, and repeat.

14. Add a link to http://<yourhostname>/forums/cfmdirectory.php somewhere on your forum so your users can access it ... maybe in a pretty drop-down menu of your choice. I won't impose the location on you -- I think you can handle this!


FAQ:
----
Q: I hate the names of things!
A: That's not really a question.

Q: I hate the names of things?
A: Uh, better ... I tried to put things in phrases. Also, you can always go dumpster-diving in the templates and php files for anything I left out. Don't be afraid, there's not much you can hurt.

Q: Can you explain your screenshots?
A: I suppose ...
sshot1: AdminCP option menu w/ Intro text box and link to directory manager
sshot2: Entering data ... this entry has a content page
sshot3: After adding two entries. Entries are sorted alphabetically by heading
sshot4: The directory in its natural state -- all entries collapsed. Notice Zaphod has a personal page.
sshot5: The directory with both entries un-collapsed
sshot6: A content page


Support:
--------
Any questions and problems should be reported to the modification's thread on http://www.vbulletin.org and may or may not be answered. No warranty, express or implied, is granted with this software. Use is at your own risk.


License:
--------
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991


Live demo: http://www.carforummisfits.com/forums/cfmdirectory.php
(my personal install will be updated with ads when I get to it)

Show Your Support

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

Comments
  #12  
Old 09-25-2006, 02:47 PM
rasun rasun is offline
 
Join Date: Aug 2006
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^^ So it was a good idea to post a car example for this

OK good to hear that you have motivation to do it, thanks in advance
Reply With Quote
  #13  
Old 09-26-2006, 02:23 AM
Zowners Zowners is offline
 
Join Date: Dec 2005
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will this work on 3.6.1?
Reply With Quote
  #14  
Old 09-26-2006, 03:08 AM
GlobalFusion's Avatar
GlobalFusion GlobalFusion is offline
 
Join Date: Sep 2004
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I"ll give it a test run.
Reply With Quote
  #15  
Old 09-26-2006, 11:55 AM
Throtex's Avatar
Throtex Throtex is offline
 
Join Date: Apr 2005
Location: Washington, D.C.
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zowners
Will this work on 3.6.1?
No reason it shouldn't, but I haven't run the upgrade myself so I'm still on 3.6.0. It doesn't rely on any existing tables (makes its own table) so presumably everything should be ok.
Reply With Quote
  #16  
Old 09-26-2006, 01:21 PM
Zowners Zowners is offline
 
Join Date: Dec 2005
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well I added it/it works. yeah!!!! I'm hoping to make a links directory out of it...somehow. Thanks. :=) The link is: http://thesupportgroupforum.com

Peace
Reply With Quote
  #17  
Old 09-26-2006, 04:02 PM
Throtex's Avatar
Throtex Throtex is offline
 
Join Date: Apr 2005
Location: Washington, D.C.
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zowners
Well I added it/it works. yeah!!!! I'm hoping to make a links directory out of it...somehow. Thanks. :=) The link is: http://thesupportgroupforum.com

Peace
Glad to hear
Reply With Quote
  #18  
Old 09-29-2006, 11:11 PM
HDT HDT is offline
 
Join Date: Sep 2006
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is possible to change cfmdirectory.php to cfmdirectory.htm or html?
So final link is domain.com/forum/cfmdirectory.htm/html.

I think if using cfmdirectory.php,reciprocal links system can not detect links on that page when run auto check.
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 08:59 AM.


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.04168 seconds
  • Memory Usage 2,276KB
  • Queries Executed 22 (?)
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_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
  • (1)pagenav_pagelink
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)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