Results 1 to 10 of 10

Thread: check it out?

  1. #1
    Join Date
    Dec 2005
    Posts
    130
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation check it out?

    1) Script Title:
    Ajax Tabs Content Script (v 2.2)

    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...tent/index.htm

    3) Describe problem:


    In my vbulletin forum's who's online section, the majority of people on the home page (or so it seems) shows this

    Viewing Gallery Check it Out

    The weird thing is that the check it out page is the first ajax tab on the home page (right side shoutbox) which if you click the link, shows you that custom vb template page, which is merely the 4 icons from that first ajax tab.

    How can I fix that so who's online properly shows "index" or whatever default it should show when the member is on the home page?

    I have this in forumhome template

    Code:
     <link rel="stylesheet" type="text/css" href="clientscript/ajaxtabs/ajaxtabs.css" />
        <script type="text/javascript" src="clientscript/ajaxtabs/ajaxtabs.js"></script>
    That's above head section

    In the body I have

    Code:
        <div align="center">
            <div id="flowerdivcontainer" style="width:250px; height: 200px; padding: 2px"></div>
                <div id="flowertabs" class="modernbricksmenu2">
                    <ul>
                        <li><a href="misc.php?do=page&template=ajax1" class="selected">Fun</a></li>
                        <li><a href="misc.php?do=page&template=ajax2">Forum</a></li>
                        <li><a href="misc.php?do=page&template=ajax3">Bible</a></li>
                        <li><a href="misc.php?do=page&template=ajax4">Tools</a></li>
                        <li><a href="misc.php?do=page&template=ajax5">?</a></li>
                    </ul>
                </div>
        </div>
    
    <script type="text/javascript">
    var myflowers=new ddajaxtabs("flowertabs", "flowerdivcontainer")
    myflowers.setpersist(true)
    myflowers.setselectedClassTarget("link") //"link" or "linkparent"
    myflowers.init()
    </script>
    Talk Jesus Forums [ Over 100 Fulfilled Prophecies in the Bible: click here ]
    .....................................................................................
    LogicWeb...a smart web solution [ hosting for personal and business since 2003 ]

  2. #2
    Join Date
    Aug 2004
    Posts
    9,894
    Thanks
    3
    Thanked 967 Times in 955 Posts
    Blog Entries
    15

    Default

    Hmm I'm not quite getting this visually. Please post a link to the page on your site that contains the problematic script so we can check it out.

  3. #3
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    the page is linked in the signature and the link points here:

    http://www.talkjesus.com/index.php

    The part that the user is talking about is in the box with "Currently Active Users" and off to the right of the shoutbox.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  4. #4
    Join Date
    Dec 2005
    Posts
    130
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you testingsite. That's correct.
    Talk Jesus Forums [ Over 100 Fulfilled Prophecies in the Bible: click here ]
    .....................................................................................
    LogicWeb...a smart web solution [ hosting for personal and business since 2003 ]

  5. #5
    Join Date
    Aug 2004
    Posts
    9,894
    Thanks
    3
    Thanked 967 Times in 955 Posts
    Blog Entries
    15

    Default

    Ok, I see where the Ajax Tabs are, which for me are:

    * Fun
    * Forum
    * Bible
    * Tools
    * ?

    After that I'm lost though as to what you're asking. What do you mean by "Check it Out" page? You'll have to rephrase your question.

  6. #6
    Join Date
    Dec 2005
    Posts
    130
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    When you go to the who's online page (not visible to visitors anyway)

    http://www.talkjesus.com/online.php

    See screenshot


    Clicking "check it out" takes you to the first ajax tab's page

    http://www.talkjesus.com/misc.php?do...1216559003714=
    Talk Jesus Forums [ Over 100 Fulfilled Prophecies in the Bible: click here ]
    .....................................................................................
    LogicWeb...a smart web solution [ hosting for personal and business since 2003 ]

  7. #7
    Join Date
    Aug 2004
    Posts
    9,894
    Thanks
    3
    Thanked 967 Times in 955 Posts
    Blog Entries
    15

    Default

    Well, I'm not registered on the forums, but nowhere do I see the link "check it out" on any of the links you've provided so far.

  8. #8
    Join Date
    Dec 2005
    Posts
    130
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I don't understand your response. Do you see the link in the screen shot? I showed the screen shot to give you an explanation of what I'm referring to, and unregistered members cannot see this which is why I clarified that earlier too when I said "not visible to visitors anyway".

    Its below "Viewing Gallery" all the time, so its obvious when the visitor is technically on the home page, for some reason its pulling in as if they're on the first ajax tab oddly.

    To make it easier, I've enabled the view for unregistered visitors to be able to see it.

    http://www.talkjesus.com/online.php

    I just noticed that each individual "check it out" link takes you to wherever that member is at. Its really strange

    Thanks for your help in advance
    Talk Jesus Forums [ Over 100 Fulfilled Prophecies in the Bible: click here ]
    .....................................................................................
    LogicWeb...a smart web solution [ hosting for personal and business since 2003 ]

  9. #9
    Join Date
    Aug 2004
    Posts
    9,894
    Thanks
    3
    Thanked 967 Times in 955 Posts
    Blog Entries
    15

    Default

    Ok this one's making my head hurt just trying to follow the steps to reach the problem. Now I see what you mean by "check it out" link- it's one of the really small text below certain usernames (I don't see how a screenshot would have been useful until you actually allowed non registered members to actually test things out). So I click on the link- it take me back to the homepage. Ok, now I'm confused what the problem is again. lol

    The problem may be a simple one, but somehow your question is taking the reader through so many hoops he/she ends up getting lost long before reaching the problem itself. The best way to ask a question is always to isolate, then isolate some more so the problem is reduced to something that can be duplicated/ presented on a clean page without all the surrounding clutter, in this case, a complex one that is vBulletin and its interface. I see your other question, and I sense the some headache coming on if I tried to walk down the path laid out to test out the issue. Sorry about the lecture, but it's necessary based on the fact that we're just a very small handful of people going through tons of questions daily.

  10. #10
    Join Date
    Dec 2005
    Posts
    130
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Let's try this again. First, I must clarify as you can see live on the page and in the screen shot, the 'check it out' link is not below the username, but its on the same row in the Location column. It is below the "viewing gallery" text/link.

    Further, the 'view gallery' is technically them on the home page, so technically it should say 'viewing index'. However, its assuming they are viewing the ajax tab (the first one selected by default, on the *home page*) which does have teh gallery icon and link to it of course. Why its doing that, I do not know. Its baffling me, but I'm sure an expert here will figure it out.

    Some more details, this is my (portion) forumhome template with DD ajax tabs code highlighted in red:

    Code:
    $stylevar[htmldoctype]
    <html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
    <head>
    	<!-- no cache headers -->
    	<meta http-equiv="Pragma" content="no-cache" />
    	<meta http-equiv="Expires" content="-1" />
    	<meta http-equiv="Cache-Control" content="no-cache" />
    	<!-- end no cache headers -->
    	$headinclude
    	<title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>
        <link rel="stylesheet" type="text/css" href="clientscript/ajaxtabs/ajaxtabs.css" />
        <script type="text/javascript" src="clientscript/ajaxtabs/ajaxtabs.js"></script>
    </head>
    <body>
    $header
    $navbar
    
    <table width="100%" cellpadding="0" cellspacing="0" border="0">
    <tr>
    $usc_left
    <td valign="top" width="100%">
    
    <!-- guest welcome message -->
    <if condition="$show['guest']">
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    
    	<tr>
    		<td class="tcat"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td>
    	</tr>
    	<tr>
    		<td class="alt1">
            <phrase 1="faq.php$session[sessionurl_q]" 2="register.php$session[sessionurl_q]">$vbphrase[first_visit_message]</phrase>
        </td>
    	
    	</tr>
    </table>
    <div class="cat_spacer"></div>
    </if>
    <!-- / guest welcome message -->
    
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="1" border="0" width="100%">
    
        <tr>
            <td class="tcat" colspan="2">
                <a href="online.php$session[sessionurl_q]" rel="nofollow">$vbphrase[currently_active_users]</a>: $totalonline
            </td>
        </tr>
        <tr>
            <td class="thead" colspan="2">
                <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_Shoutbox')"><img id="collapseimg_forumhome_Shoutbox" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_Shoutbox].gif" alt="" border="0" /></a>
                Talk Jesus Shoutbox!</td>
        </tr>
        <tr>
            <td align="center" class="alt2">
                <iframe frameborder="0" width="100%" height="185" src="http://www.cbox.ws/box/?boxid=439&amp;boxtag=7868&amp;sec=main" marginheight="1" marginwidth="1" scrolling="auto" name="cboxmain" id="cboxmain"></iframe>
            </td>
            <td style="width: 250px; padding: 5px;" rowspan="2" class="alt2">
    			<div class="editor" align="center">
                <b>Members in Live Chat:&nbsp;
                <font size="5">$apichat[currentuserlocation]</font></b>
                </div>
    			
    	<div align="center">
    		<div id="flowerdivcontainer" style="width:250px; height: 200px; padding: 2px"></div>
    			<div id="flowertabs" class="modernbricksmenu2">
    				<ul>
    					<li><a href="misc.php?do=page&template=ajax1" class="selected">Fun</a></li>
    					<li><a href="misc.php?do=page&template=ajax2">Forum</a></li>
    					<li><a href="misc.php?do=page&template=ajax3">Bible</a></li>
    					<li><a href="misc.php?do=page&template=ajax4">Tools</a></li>
    					<li><a href="misc.php?do=page&template=ajax5">?</a></li>
    				</ul>
    			</div>
    	</div>
    
    <script type="text/javascript">
    var myflowers=new ddajaxtabs("flowertabs", "flowerdivcontainer")
    myflowers.setpersist(true)
    myflowers.setselectedClassTarget("link") //"link" or "linkparent"
    myflowers.init()
    </script>
    
    		</td> 
        </tr>
    
        <tr>
            <td align="center" class="alt2">
    			<if condition="in_array($bbuserinfo['usergroupid'], array(2,6,7))">
    			<iframe frameborder="0" width="100%" height="55" src="http://www.cbox.ws/box/?boxid=439&amp;boxtag=7868&amp;sec=form&amp;nme=<?=urlencode($username)?>&amp;nmekey=<?=md5('1j3n8ei6mo4j2g40'.$username)?>&amp;wname=75&amp;wemail=68&amp;wmsg=250" marginheight="1" marginwidth="1" scrolling="no" allowtransparency="yes" name="cboxform" id="cboxform"></iframe>
    			<else />
    			You must be logged in and registered to use this shoutbox
    			</if>        
    		</td>
        </tr>
    </table>
    <div class="spacer"></div>
    Talk Jesus Forums [ Over 100 Fulfilled Prophecies in the Bible: click here ]
    .....................................................................................
    LogicWeb...a smart web solution [ hosting for personal and business since 2003 ]

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •