Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by Chexbox (Guest)
Developer Last Online: Jan 1970 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 08-19-2001 Last Update: Never Installs: 0
 
No support by the author.

Hey,
My name is Isaac and I am new here so please son't scold me if
I post something stupid. I am trying to start a website, but I don't
have enough money to buy vBulletin Board yet.

Once I buy it in a month, I want this hack but I want to know if it can be done before I through my money away.

(1) Could I be able to put an expandable and collapsable script
on the forum so that the Categories have a + or - sign image on them and then when you press the + the category collapses but when you press the minus it expands.
I don't think I explained it very well, so here is an example and a clarification
http://www.wonko.com
The columns on the side do exactly what I want the categorys to do: expand and collapse without having to reload the page.


I have taken out what I think is the javascript code that does this:

Quote:
<script language=javascript type="text/javascript">
function setCookie(name, value, expires, path, domain, secure) {
var curCookie = name + "=" + escape(value) +
((expires) ? "; expires=" + expires : "") +
((path) ? "; path=" + path : "") +
((domain) ? "; domain=" + domain : "") +
((secure) ? "; secure" : "");
document.cookie = curCookie;
}
function menuClick(menu){
var foo=document.all[menu.sourceIndex+3].style;
if (foo.visibility=='hidden') {
foo.display='inline';
foo.visibility='visible';
document.all[menu.sourceIndex+1].src='images/arrow-down.gif'
setCookie('sideboxes[' + menu.id + ']', '1', 'Friday, 16-Jan-2037 00:00:00 GMT')
} else {
foo.display='none';
foo.visibility='hidden';
document.all[menu.sourceIndex+1].src='images/arrow-right.gif'
setCookie('sideboxes[' + menu.id + ']', '0', 'Friday, 16-Jan-2037 00:00:00 GMT')
}
}
function menuHighlight(menu){
//menu.style.color='yellow';
}
function menuUnHighlight(menu){
//menu.style.color='#000000';
}
function openNewsBox() {
window.open('newsbox.php', 'NewsBox', 'width=150, height=400, left=0, top=0, toolbar=no, menubar=no, status=no, location=no, scrollbars=no, resizable=yes');
}
function userInfo() {
box = document.whoisonline.members;
destination = box.options[box.selectedIndex].value;
if (destination) location.href = destination;
}
</script>

It even stores a cookie so that the categories would be in the same position the visitor left it when they returned.
Here are the images that would look good:

Download Now

File Type: (21.4 KB, 130 views)

Show Your Support

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

Comments
  #2  
Old 08-19-2001, 02:52 AM
Chexbox
Guest
 
Posts: n/a
Default

and the next image:
Attached Files
File Type: (21.4 KB, 115 views)
Reply With Quote
  #3  
Old 08-19-2001, 10:22 PM
Chexbox
Guest
 
Posts: n/a
Default

Damn, 28 views and no replys . I guess it's a waste of time since I didn't buy the damn BB. I just want to know if it's possible.

If it is then I'll learn PHP and hack it myself.
Otherwise, I'm not buying anything.
Reply With Quote
  #4  
Old 08-19-2001, 10:26 PM
Steve Machol's Avatar
Steve Machol Steve Machol is offline
 
Join Date: Nov 2001
Posts: 1,896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmmm...well I'm one of those '28 views' and the only reason I didn't respond is because I didn't know the answer. I would assume that almost anything can be done by hacking, but I really can't say how to do it, or how easy or difficult it would be.

Sorry to disappoint you.
Reply With Quote
  #5  
Old 08-19-2001, 11:20 PM
Wayne Luke's Avatar
Wayne Luke Wayne Luke is offline
Senior Member
 
Join Date: Jan 2002
Location: Southern California
Posts: 1,694
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It is possible... However the current framework would have to be changed to be able to handle this sort of layout.
Reply With Quote
  #6  
Old 08-20-2001, 01:08 AM
Chexbox
Guest
 
Posts: n/a
Default

Okay, I see how it can be done now. It is quite easy actually. I think it should work, I'm not 100% sure though.

When I get some money to buy a bulletin board in a month or 4 I can set it up and show everyone how I think it should work, I think. Support wont go unappreciated.
Reply With Quote
  #7  
Old 10-26-2001, 03:52 AM
SirSteve SirSteve is offline
 
Join Date: Oct 2001
Posts: 382
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am also interested in this hack.
Reply With Quote
  #8  
Old 10-26-2001, 11:22 AM
floleb7's Avatar
floleb7 floleb7 is offline
 
Join Date: Oct 2001
Posts: 216
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="http://www.vbulletin-france.com/board/showthread.php?s=&threadid=984" target="_blank">http://www.vbulletin-france.com/boar...=&threadid=984</a>
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 10:32 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.04183 seconds
  • Memory Usage 2,281KB
  • 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
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (2)postbit_attachment
  • (4)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
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_imicons
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete