Bluepearl Design
Go Back   Bluepearl Design > Bluepearl Design > Need Help?

Search forums

Ask us questions relavent to Web Design and Computers.
Also support for Bluepearl Design and webclans.net hosting.

    

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old 01-24-2006, 04:28 PM   #1 (permalink)
 
Black Cobra's Avatar
 
Title: Bluepearl Veteran
Join Date: Jun 2005
Location: Down in my Cave
Age: 26
Posts: 92
Rep Power: 4 Black Cobra is on a distinguished road
Search forums

Wondering if you could help me out with my forums search results page.

For some reason its not displaying properly and i cant work out how to fix it..

Code:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $vbphrase[search_results]</title>
<if condition="$show['inlinemod']"><script type="text/javascript" src="clientscript/vbulletin_inlinemod.js"></script></if>
</head>
<body>
$header
$navbar
<if condition="$pagenav">
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
<tr valign="bottom">
 <td align="$stylevar[right]">$pagenav</td>
</tr>
</table>
</if>
<form action="inlinemod.php" method="post" id="inlinemodform">
<input type="hidden" name="url" value="$url" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="forumid" value="$forumid" />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" id="threadslist">
<tr>
 <td class="tcat2" colspan="$threadcolspan" style="font-weight:normal">
  <table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td valign="top"><table width="200" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td background="MG4/cat_middle.jpg"><img src="MG4/cat_left.jpg"></td>
        <td align="left" background="MG4/cat_middle.jpg"><span class="menu"> <strong>$vbphrase[search]:</strong> <span class="smallfont"> <if condition="$action == 'process'"> <if condition="$displayWords">$vbphrase[key_words]: $displayWords</if> <if condition="$displayWords AND $displayUsers">; </if> <if condition="$displayUsers"> <if condition="$starteronly">$vbphrase[threads_started_by]<else />$vbphrase[posts_made_by]</if>: $displayUsers </if> <else /> <if condition="$action == 'getnew'">$vbphrase[new_posts_nav]<else />$vbphrase[posts_from_last_day]</if> </if></span></span>
            <table class="menu" width="200" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td></td>
              </tr>
          </table></td>
        <td><img src="MG4/cat_right.jpg"></td>
      </tr>
    </table></td>
    <td width="100%"><font color="#FFFFFF"><span class="smallfont" style="float:$stylevar[right]">
   <phrase 1="$first" 2="$last" 3="$numitems">$vbphrase[showing_results_x_to_y_of_z]</phrase>
   <br />
<if condition="$show['generated']">
            <phrase 1="$searchtime" 2="$searchminutes">$vbphrase[search_took_x_seconds_gen_y_mins]</phrase>
            <else />
   <phrase 1="$searchtime">$vbphrase[search_took_x_seconds]</phrase>
  </if>
        </span>
        
        <a href="search.php?$session[sessionurl]$searchquery"><strong>$vbphrase[search]:</strong></a>
        <span class="smallfont">
        <if condition="$action == 'process'">
            <if condition="$displayWords">$vbphrase[key_words]: $displayWords</if>
            <if condition="$displayWords AND $displayUsers">; </if>
            <if condition="$displayUsers">
                <if condition="$starteronly">$vbphrase[threads_started_by]<else />$vbphrase[posts_made_by]</if>: $displayUsers
            </if>
        <else />
            <if condition="$action == 'getnew'">$vbphrase[new_posts_nav]<else />$vbphrase[posts_from_last_day]</if>
        </if>
        <if condition="$displayForums">
            ; $vbphrase[forum]: $displayForums <if condition="$childforums">$vbphrase[and_child_forums]</if>
        </if>
        </span>
 </td>
</tr>
<if condition="$displayCommon">
<tr>
 <td class="thead" style="font-weight: normal" colspan="$threadcolspan">$vbphrase[words_very_common]: $displayCommon</td>
</tr>
</if>
<if condition="$search['showposts']">
</table>
$searchbits
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<else />
<tr>
 <td class="thead" colspan="2">&nbsp;</td>
 <td class="thead" width="75%">$vbphrase[thread] / $vbphrase[thread_starter]</td>
 <td class="thead" width="150" align="center" nowrap="nowrap">$vbphrase[last_post]</td>
 <td class="thead" align="center" nowrap="nowrap">$vbphrase[replies]</td>
 <td class="thead" align="center" nowrap="nowrap">$vbphrase[views]</td>
 <td class="thead" width="25%">$vbphrase[forum]</td>
 
 <if condition="$show['inlinemod']">
  <if condition="$show['popups']">
    <td class="vbmenu_control" id="imod" align="center" title="$vbphrase[moderation]"> <script type="text/javascript"> vbmenu_register('imod'); </script> </td>  <else />
   <td class="thead" align="center">
    <input type="checkbox" name="allbox" id="checkall_all" title="$vbphrase[check_uncheck_all]" onclick="inlineMod.check_all()" />
   </td>
  </if>
 </if> 
 
</tr>
$searchbits
<if condition="$show['ajax_js']">
 <script type="text/javascript" src="clientscript/vbulletin_ajax_threadslist.js"></script>
 <script type="text/javascript">
 <!--
 vB_AJAX_Threadlist_Init('threadslist');
 //-->
 </script>
</if>
</if>
<tr>
 <td class="tfoot" colspan="$threadcolspan" align="$stylevar[right]">
  <span class="smallfont"><phrase 1="$first" 2="$last" 3="$numitems">$vbphrase[showing_results_x_to_y_of_z]</phrase></span>
 </td>
</tr>
</table>
<if condition="$pagenav">
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:3px">
<tr valign="top">
 <if condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if>
</tr>
</table>
</if>
<if condition="$show['inlinemod']">
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:3px">
<tr valign="top">
 <td align="$stylevar[right]">
        <div class="smallfont" style="text-align:$stylevar[left]; white-space:nowrap; float:$stylevar[right]">
        <strong>$vbphrase[moderation]</strong><br />  <if condition="!$search['showposts']">
   <select name="do">
    <optgroup label="$vbphrase[option]">
     <option value="deletethread">$vbphrase[delete_threads]</option>
     <option value="undeletethread">$vbphrase[undelete_threads]</option>
     <option value="open">$vbphrase[open_threads]</option>
     <option value="close">$vbphrase[close_threads]</option>
     <option value="approvethread">$vbphrase[approve_threads]</option>
     <option value="unapprovethread">$vbphrase[unapprove_threads]</option>
     <option value="stick">$vbphrase[stick_threads]</option>
     <option value="unstick">$vbphrase[unstick_threads]</option>
     <option value="movethread">$vbphrase[move_threads]</option>
     <option value="mergethread">$vbphrase[merge_threads]</option>
    </optgroup>
    <optgroup label="____________________">
     <option value="clearthread">$vbphrase[clear_thread_list]</option>
    </optgroup>
   </select><input type="submit" class="button" id="inlinego" value="$vbphrase[go]" />
   <script type="text/javascript">
   <!--
   inlineMod = new vB_Inline_Mod('inlineMod', 'thread', 'inlinemodform', '$vbphrase[go_x]');
   //-->
   </script>
  <else />
   <select name="do">
    <optgroup label="$vbphrase[option]">
     <option value="mergeposts">$vbphrase[merge_posts]</option>
     <option value="moveposts">$vbphrase[move_posts]</option>
     <option value="deleteposts">$vbphrase[delete_posts]</option>
     <option value="undeleteposts">$vbphrase[undelete_posts]</option>
     <option value="approveposts">$vbphrase[approve_posts]</option>
     <option value="unapproveposts">$vbphrase[unapprove_posts]</option>
     <option value="approveattachments">$vbphrase[approve_attachments]</option>
     <option value="unapproveattachments">$vbphrase[unapprove_attachments]</option>
    </optgroup>
    <optgroup label="____________________">
     <option value="clearpost">$vbphrase[clear_post_list]</option>
    </optgroup>
   </select><input type="submit" class="button" id="inlinego" value="$vbphrase[go]" />
   <script type="text/javascript">
   <!--
   inlineMod = new vB_Inline_Mod('inlineMod', 'post', 'inlinemodform', '$vbphrase[go_x]');
   //-->
   </script>
  </if>
</div>
 </td>
</tr>
</table>
</if>
</form>
<br />
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
 <td width="100%">&nbsp;</td>
 <td>$forumjump</td>
</tr>
</table>
<if condition="$show['inlinemod'] AND $show['popups']">
 <div class="vbmenu_popup" id="imod_menu" style="display:none" align="$stylevar[left]">
  $threadadmin_imod_menu
 </div>
</if>
$footer
</body>
</html>
Thats the template code.
I was also wondering how to get the quotes at the bottom of the forum home page ( not the portal) to look right and fit into the forum, it sticks out like a sore thumb currently.

Any help would be great..
__________________
Black Cobra is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-24-2006, 05:01 PM   #2 (permalink)
 
Sean's Avatar
 
Title: Founder/Admin
Join Date: Jan 2004
Location: Sydney, Australia
Age: 28
Posts: 8,907
Images: 386
Blog Entries: 4
Rep Power: 10 Sean will become famous soon enough
Send a message via MSN to Sean Send a message via Skype™ to Sean
Re: Search forums

Damn that page is a mess, hey before i got searching that code for errors have u tried reverting the template?

The quotes at the bottom of the page could be missing the class="tborder" CSS or maybe u just need to change the alt1 and alt2 around.

Let me know if any of this helps.
Sean is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-24-2006, 05:12 PM   #3 (permalink)
 
Black Cobra's Avatar
 
Title: Bluepearl Veteran
Join Date: Jun 2005
Location: Down in my Cave
Age: 26
Posts: 92
Rep Power: 4 Black Cobra is on a distinguished road
Re: Search forums

yeah but if i revert the page wont i lose all the images attatched to it?
__________________
Black Cobra is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-24-2006, 07:27 PM   #4 (permalink)
 
Sean's Avatar
 
Title: Founder/Admin
Join Date: Jan 2004
Location: Sydney, Australia
Age: 28
Posts: 8,907
Images: 386
Blog Entries: 4
Rep Power: 10 Sean will become famous soon enough
Send a message via MSN to Sean Send a message via Skype™ to Sean
Re: Search forums

K dude i will look at the code first thing tomorrow for you
Sean is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-25-2006, 10:55 AM   #5 (permalink)
 
Sean's Avatar
 
Title: Founder/Admin
Join Date: Jan 2004
Location: Sydney, Australia
Age: 28
Posts: 8,907
Images: 386
Blog Entries: 4
Rep Power: 10 Sean will become famous soon enough
Send a message via MSN to Sean Send a message via Skype™ to Sean
Re: Search forums

On line 77 try removing the colspan and tell me what happens. I believe this is causing the second cell which is empty on that page.
Sean is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-27-2006, 02:22 AM   #6 (permalink)
 
Black Cobra's Avatar
 
Title: Bluepearl Veteran
Join Date: Jun 2005
Location: Down in my Cave
Age: 26
Posts: 92
Rep Power: 4 Black Cobra is on a distinguished road
Re: Search forums

ok i've reuploaded the original skin that didn't have the changes from the upgrade.

I will try making the changes again.

At least it looks right now...

Thanks for your help though..
__________________
Black Cobra is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-27-2006, 08:10 AM   #7 (permalink)
 
Sean's Avatar
 
Title: Founder/Admin
Join Date: Jan 2004
Location: Sydney, Australia
Age: 28
Posts: 8,907
Images: 386
Blog Entries: 4
Rep Power: 10 Sean will become famous soon enough
Send a message via MSN to Sean Send a message via Skype™ to Sean
Re: Search forums

np dude anytime, i have found that the plugin system for vBulletin is very good and makes things alot easier, but sometimes a few hacks make template modifications which can mess up highly custom templates like yours and my x-factor and darkness styles
Sean is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-28-2006, 02:43 AM   #8 (permalink)
 
Black Cobra's Avatar
 
Title: Bluepearl Veteran
Join Date: Jun 2005
Location: Down in my Cave
Age: 26
Posts: 92
Rep Power: 4 Black Cobra is on a distinguished road
Re: Search forums

makes life interesting as well when it says to edit something and the place it says to edit aint there...
__________________
Black Cobra is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-28-2006, 10:34 AM   #9 (permalink)
 
Sean's Avatar
 
Title: Founder/Admin
Join Date: Jan 2004
Location: Sydney, Australia
Age: 28
Posts: 8,907
Images: 386
Blog Entries: 4
Rep Power: 10 Sean will become famous soon enough
Send a message via MSN to Sean Send a message via Skype™ to Sean
Re: Search forums

Or the new gallery forumhome hack, where u cant find the script to edit it ..... the reason i moved it from the main page.
Sean is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads for: Search forums
Thread Thread Starter Forum Replies Last Post
phpBB2 and phpBB2 demo forums Sean Free phpBB Templates 20 11-27-2006 12:44 PM
The Search for Griffin Monk Jokes 30 11-14-2005 11:26 PM
SEO - Search Engine Optimalisation Fragalot HTML, XHTML, Javascript, CSS 4 09-09-2005 03:50 AM
Backgrounds for Forums Competition LEAD_WEIGHT General Chat 3 06-17-2005 02:35 AM


  
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Bluepearl Templates

All times are GMT +11. The time now is 09:53 PM.

 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52