Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by GameCrash GameCrash is offline
Developer Last Online: Oct 2012 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 07-08-2001 Last Update: Never Installs: 18
 
No support by the author.

Hi, this is my first vB hack so please be patient

This allows you to use a board as a link (UB2k users know this feature). When you set a board as a link every user who joins the board will be redirected to this url

See it in action: http://foren.letzplay.de (german) the last boards are redirections.

This hack has been tested on vB 2.0.1 and vB 2.0.3 but other users have it running on 2.2.1, too.

Please post questions, inspirations and problems in this thread (not per email or pm). Thank you.

New version 1.1a fixed online

Just fixed that one bug in the install description. No need to upgrade if version 1.1a is already running

New version 1.1a online

Fixed a bug that meaned the hit counter didn't work correctly.

There is an update script and an update manual in the zip.

New version 1.1 online

New features: Hit counter, seperate templates, you can define your own target tag

There is an update script and an update manual in the zip.

Download it here

Show Your Support

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

Comments
  #82  
Old 01-04-2004, 02:13 AM
hockyfan hockyfan is offline
 
Join Date: Mar 2003
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've gone over the code, and the black box error appears whenever I make the changes to index.php. However, when I make the changes, then the external link forum displays correctly (with the hits counter), when I use the original index.php file, there's no black box, but the external link forum doesn't show the hits.

Currently I have the default index.php file, as I don't want my whole forum looking distorted - you can see the forum through my signature link. If you need to see it with the black box, if you can try and give me a timeframe when it'd be good for you to look at it I'd greatly appreciate it, thank you.



h
Reply With Quote
  #83  
Old 01-04-2004, 12:38 PM
GameCrash GameCrash is offline
 
Join Date: Oct 2001
Location: Germany (Bavaria)
Posts: 262
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The problem is that I don't see the link forum there

You could do the following: Copy the contents of template forumhome_forumbit_level1_post to the template forumdisplay_linkbit_level1 and the template forumhome_forumbit_level2_post to forumdisplay_linkbit_level2

If everything works, alter the two linkbit templates to remove the contents you don't need, and everything should work fine...
Reply With Quote
  #84  
Old 01-04-2004, 02:32 PM
hockyfan hockyfan is offline
 
Join Date: Mar 2003
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I copied the contents of the forumbit templates into the linkbit ones, replacing everything in the linkbit ones, was that what I was supposed to do? When I upload the changed index.php, I still get the black box.

I just checked, it appears as though I only get the black box with the default skin, with my other skins, everything appears fine and the link forum shows the hits. Any idea how I can fix this?

h
Reply With Quote
  #85  
Old 01-04-2004, 08:53 PM
GameCrash GameCrash is offline
 
Join Date: Oct 2001
Location: Germany (Bavaria)
Posts: 262
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you do anything different with this style than with the other styles?
Reply With Quote
  #86  
Old 01-04-2004, 11:17 PM
hockyfan hockyfan is offline
 
Join Date: Mar 2003
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GameCrash
Did you do anything different with this style than with the other styles?
Not sure, since I didn't make the skins - if you look now, you can see the black box, and the link forum.



h
Reply With Quote
  #87  
Old 01-05-2004, 01:05 PM
GameCrash GameCrash is offline
 
Join Date: Oct 2001
Location: Germany (Bavaria)
Posts: 262
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well... I see the problem. And I see what this comes from (in the page source). There's a
Code:
style="border-style: solid;border-top-width: 0;border-left-width: 1;border-right-width: 1;border-bottom-width: 0;border-color: #000000"
after every </tr> for the table rows. However, I don't have any idea where this comes from - I would say, the only one able to answer this would be the one who made that skin. This is not (at least not directly) caused by my hack as
  • That code is nowhere in my templates
  • That code is in every row, not just in the one with the links.
Are you able to contact the one who has written the style?
Reply With Quote
  #88  
Old 01-05-2004, 09:10 PM
hockyfan hockyfan is offline
 
Join Date: Mar 2003
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think I could speak to him. Also, why don't the hits show up for that skin? Is it connected?

h
Reply With Quote
  #89  
Old 01-05-2004, 11:17 PM
hockyfan hockyfan is offline
 
Join Date: Mar 2003
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

After speaking to him he has absolutely no clue how to fix the lines. Therefore, I've unfortunately had to remove the hack. However, is there any way I can add some code to any of my forums files so that at least the external link forum (now done through putting HTML in the forum name) will show dashes of some sort instead of 0 posts?

h
Reply With Quote
  #90  
Old 03-13-2004, 11:40 AM
fixer fixer is offline
 
Join Date: Nov 2001
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi
i think that i found a bug in the install file.
the last part said:
open index.php file and find:
PHP Code:
eval("\$forumbits .= \"".gettemplate("forumhome_forumbit_level$depth$tempext")."\";"); 
and replace it with:
PHP Code:
if ($forum['link']) {
        eval(
"\$forumbits .= \"".gettemplate("forumdisplay_linkbit_level$depth")."\";");
        } else {
        eval(
"\$forumbits .= \"".gettemplate("forumdisplay_forumbit_level$depth$tempext")."\";");
        } 
it should be
PHP Code:
if ($forum['link']) {
        eval(
"\$forumbits .= \"".gettemplate("forumdisplay_linkbit_level$depth")."\";");
        } else {
        eval(
"\$forumbits .= \"".gettemplate("forumhome_forumbit_level$depth$tempext")."\";");
        } 
i hope this will fix the errors caused by the hack
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 02:34 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08637 seconds
  • Memory Usage 2,303KB
  • 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
  • (1)bbcode_code
  • (3)bbcode_php
  • (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
  • (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