![]() |
Curious, is this what vbulletin.com is using on its member.php pages?
|
Quote:
|
Quote:
|
Quote:
|
Bobster,
As you suggested, I looked at dynamicdrive code and using and I need your help for the error I am getting. When i call onclick event in echo statement in php page. I am getting follwing error Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in C:\Program Files\EasyPHP 2.0b1\www\upload\tabexternal5.php on line 71 The line where I am getting error is echo'<input type="button" onclick="javascript:return toggleMe('para1');" value="Toggle">'; echo '<div id="para1"> Decription here.... </div>'; When I change to double quotes like 'para1' to "para1" and also tried with '.para1.' onclick="javascript:return toggleMe("para1");" value="Toggle">'; - no errors but nothing is happening when I click on toggle button.actually it should expand/collapse. Javascript: <script type="text/javascript"> function toggleMe(a){ var e=document.getElementById(a); if(!e)return true; if(e.style.display=="none"){ e.style.display="block" } else{ e.style.display="none" } return true; } </script> Please help me with this echo statement javascript onclick. Thanks for your reply |
For those of you that have been wanting to display Post Icons and or limit the thread title character limit for the recent threads content file within a tab, check out the attached file.
PLEASE NOTE: all paths in this file are assumed that you have your forums installed in {forums} folder off the root ie /forums/showthread.php so if you have a different set up, just edit those lines to the correct path and everything will work as it should. LINES OF CODE TO EDIT FOR YOUR PERSONAL NEEDS: Line 46: Change 30 to the cut of length you wish. Code:
$mod_options['portal_threads_maxchars'] = '30'; // SET THIS FOR THE MAX NUMBER OF CHARACTERS YOU WANT TO DISPLAY FOR THE THREAD TITLE Line 68: Change this to pull threads from which ever forums you desire.. you can edit/add/or delete .. Code:
AND thread.forumid=15 or thread.forumid=31 or thread.forumid=32 or thread.forumid=33 Line 72: Change the number to display the amount of threads you wish. Code:
LIMIT 15 Lines 156-180: You MAY have to change the paths on all the href's .. Change to match your individual forums setup. |
Quote:
anyway, if you can do that.. just PM me and I will give you my email addy so that you can send the file. |
Layout question. I've got tabs working, I've added my forum CSS to the top of ajaxtabs.css and my testtabs.php page has the same theme as my forum now. First, where would I change the CSS (I'm using "indentmenu") to move the tab menu to the top?
Then, I have another custom PHP file, with a custom template. The PHP file loads a bunch of nested tables, theads, tcats, collapsing trs and tds, into strings, and then the template displays certain strings depending on the usergroup of the person looking at the page. I would like to replace some of the nested collapsing stuff with tabs like these. Should I just move the ajaxtabs template into the custom PHP file where I need tab boxes? Can I place dynamic content (loaded from MySQL) into the tab boxes, rather than loading a file? |
Quote:
Quote:
|
Hi
I tried to add a tab with the newest profile photos. But it shows this error: Parse error: syntax error, unexpected '<' in /home/stonner/public_html/forums/tabexternal4.php on line 42 Could you please help me? I attached my file tabexternal4.php. Thank you very much |
All times are GMT. The time now is 10:32 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|