Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[YUI] Tabbed Forum Home Details »»
[YUI] Tabbed Forum Home
Version: 2.0.0, by bobster65 bobster65 is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.7.x Rating:
Released: 12-02-2008 Last Update: 12-02-2008 Installs: 36
Uses Plugins Template Edits
Additional Files Translations Is in Beta Stage  
No support by the author.

Tabbed Forum Home v2.0.0 Beta 1 - YUI Based Tabs

Pulled back and will be re-released at a later date

Supporters / CoAuthors

Show Your Support

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

Comments
  #62  
Old 12-03-2008, 07:15 PM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by s810car View Post
I think the 2nd arguement thing was missing a parenthesis, i got it to save by putting brackets like so (took out the quotes in forumid as well, which may or may not be correct)
HTML Code:
<if condition="(THIS_SCRIPT == 'indexTAB' AND (in_array($forum[forumid], $GLOBALS[tabcats]) OR in_array('all', $GLOBALS[tabcats]))) OR (THIS_SCRIPT == 'forumdisplay')">
Doesn't mean it worked though still got the encoding error
I am working on a fix for this now. I may need some help testing it.

Quote:
Originally Posted by s810car View Post
Since you mentioned that, i checked the file I got and it has one line around line 36 saying
PHP Code:
$tabID 
and then empty space that line, I assume there's something to be there?
You may remove that, tabID isn't set through PHP and I'm not sure how it got in there.

Quote:
Originally Posted by ThomasR View Post
Bobster65: Thank you very much for these answers and the time you devote for us. I will check the other modules for the previous version and try to upload an html page (no header / footer, just html content I guess

Edit:
I just tried to upload a XML file with just this content as a module, and as you may guess, it's not working
Code:
<div align="center">This is a<strong> HTML</strong> test!
</div>
Edit2:
I checked an existing module and edited to:
Code:
<?xml version="1.0" encoding="ISO-8859-1"?>

<modules>
	<module>
		<name>test html</name>
		<file><div align="center">This is a<strong> HTML</strong> test!</div></file>
		<cache>false</cache>
	</module>
</modules>
Without <file></file>, I have a database error on the import process Witht these tags, I can import the module, I have the tab, but an empty content.
Can you post a short sample, if you have the time (not a priority at all for me!) Thanks!
Adding a module does not require an xml file. Click on "Add Module" in the ACP back end and fill out the form.
Reply With Quote
  #63  
Old 12-03-2008, 07:17 PM
NAZIA's Avatar
NAZIA NAZIA is offline
 
Join Date: Feb 2008
Location: Multan Pakistan
Posts: 322
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You have done. Awesome.
I will Do it soon at my board...

Thanks for this full New Version...Now Its look like namepros.com tabs...
Reply With Quote
  #64  
Old 12-03-2008, 07:31 PM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ArnyVee View Post
My version is 3.7.1 PL 1.

Now, after I went through and did all the edits, the top of my style has this code multiple times....

Code:
Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/functions_forumlist.php(395) : eval()'d code on line 1
To anyone having this problem, please try the fix described here:

http://www.smnlikdat.org/project.php?issueid=16#note36
Reply With Quote
  #65  
Old 12-03-2008, 08:03 PM
ThomasR ThomasR is offline
 
Join Date: Mar 2005
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by King Kovifor View Post
Adding a module does not require an xml file. Click on "Add Module" in the ACP back end and fill out the form.
Ok, found it, just have to upload an html file in the root of the forum and then, give the relative link to this file.

Now, I found something else, I don't know if it's a bug or not:

On my forum, I have a root style, in which I do all the template modifications for the plugins and I use a child style in which I do all the cosmetics edits (css changes, different icons, etc).

The problem is that the tabs are using the default style colors and not the style child look and feel when I select this child style. I guess that I can tweak that from the templates, but it would be better if it use the selected template CSS. I can post a screen capture if you want.

About the bug, I still have it after doing your fix above:

Code:
Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/adminfunctions_template.php(3729) : eval()'d code on line 1
and I have tghis error in order to the tabs content in my forum:
Code:
Fatal error: Cannot re-assign $this in /home/forums/www/tabindex.php on line 122
If you need the link to my test forum.
Reply With Quote
  #66  
Old 12-03-2008, 08:13 PM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Change this to $useless and see if that works. If the fix doesn't work, I will need to go back and try to make some changes...
Reply With Quote
  #67  
Old 12-03-2008, 08:22 PM
ThomasR ThomasR is offline
 
Join Date: Mar 2005
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the fatal error in the tab content changed to :
Code:
Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/functions_forumlist.php(395) : eval()'d code on line 1
Top forum and tab content display the same error.

Time to sleep for me, will checking in 7-8 hours
Reply With Quote
  #68  
Old 12-03-2008, 08:27 PM
sweetguy2004's Avatar
sweetguy2004 sweetguy2004 is offline
 
Join Date: Feb 2007
Location: uk
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have tried to install this but facing this problems

1. In my forumhome template i found only this

<!-- main -->
$forumbits
$forumhome_markread_script
<!-- /main -->

2. when i add this code in
Code:
<if condition="(THIS_SCRIPT == 'indexTAB' AND in_array($forum['forumid'], $GLOBALS[tabcats]) OR in_array('all',$GLOBALS[tabcats])) OR THIS_SCRIPT == 'forumdisplay'">
forumhome_forumbit_level1_nopost & forumhome_forumbit_level1_post

I get this error

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/adminfunctions_template.php(3716) : eval()'d code on line 1

& if i purposely edited the templates ignoring errors i got this error on homepage

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/functions_forumlist.php(395) : eval()d code on line 1

I am using vBulletin 3.7.2 Patch Level 1 with miner skinz

Please help
Reply With Quote
  #69  
Old 12-03-2008, 08:52 PM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sweetguy2004 View Post
I have tried to install this but facing this problems

1. In my forumhome template i found only this

<!-- main -->
$forumbits
$forumhome_markread_script
<!-- /main -->

2. when i add this code in
Code:
<if condition="(THIS_SCRIPT == 'indexTAB' AND in_array($forum['forumid'], $GLOBALS[tabcats]) OR in_array('all',$GLOBALS[tabcats])) OR THIS_SCRIPT == 'forumdisplay'">
forumhome_forumbit_level1_nopost & forumhome_forumbit_level1_post

I get this error

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/adminfunctions_template.php(3716) : eval()'d code on line 1

& if i purposely edited the templates ignoring errors i got this error on homepage

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/functions_forumlist.php(395) : eval()d code on line 1

I am using vBulletin 3.7.2 Patch Level 1 with miner skinz

Please help
I'm working on a fix for another bug that should fix this.
Reply With Quote
  #70  
Old 12-03-2008, 08:57 PM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ThomasR View Post
the fatal error in the tab content changed to :
Code:
Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/functions_forumlist.php(395) : eval()'d code on line 1
Top forum and tab content display the same error.

Time to sleep for me, will checking in 7-8 hours
I've updated the fix, try that?
Reply With Quote
  #71  
Old 12-03-2008, 09:07 PM
sweetguy2004's Avatar
sweetguy2004 sweetguy2004 is offline
 
Join Date: Feb 2007
Location: uk
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have uploaded & replaced all files & product also but still the same...

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/adminfunctions_template.php(3716) : eval()'d code on line 1

& can you tell me wat to so if i don't have

Code:
<!-- main -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
	<tr align="center">
	  <td class="thead">&nbsp;</td>
	  <td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
	  <td class="thead">$vbphrase[last_post]</td>
	  <td class="thead">$vbphrase[threads]</td>
	  <td class="thead">$vbphrase[posts]</td>
	  <if condition="$vboptions['showmoderatorcolumn']">
	  <td class="thead">$vbphrase[moderator]</td>
	  </if>
	</tr>
</thead>
$forumbits
<tbody>
	<tr>
		<td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong>
			<a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>
			<if condition="$vboptions['forumleaders']">&nbsp; &nbsp;
			<a href="showgroups.php$session[sessionurl_q]">$vbphrase[view_forum_leaders]</a></if>
		</strong></div></td>
	</tr>
</tbody>
</table>
$forumhome_markread_script
<!-- /main -->
I have only this much

<!-- main -->
$forumbits
$forumhome_markread_script
<!-- /main -->

Thanks for quick reply & help
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:41 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.05043 seconds
  • Memory Usage 2,339KB
  • 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
  • (10)bbcode_code
  • (1)bbcode_html
  • (1)bbcode_php
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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