Thread: Miscellaneous Hacks - Ultimate Side Columns 2.2
View Single Post
  #378  
Old 07-10-2008, 06:38 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by UaECasher View Post
say i want to link (http://casherz.com/forums/vbplaza.php?) and in the Column i want it to appear Vbplaza what code should I add

Thank you for the help i really need to install the column
Put this in one of your block templates
Code:
<tr>
<td class="alt1">
<a href="vbplaza.php">vB Plaza</a>
</td>
</tr>
Quote:
Originally Posted by lstintxs100 View Post
I have no idea if this is the proper way to do it but. try this :

Code:


<tr>
<tr>
<td class="tcat">your title here</td>
</tr>
<td class="alt1">

This is where content will go.

</td>
</tr>
Nearly, but not quite.
Code:
 [s]<tr>[/s]
<tr>
<td class="tcat">your title here</td>
</tr>

<tr>
<td class="alt1">

This is where content will go.

</td>
</tr>
I added a stike through the code to be removed and bold for the code to be added.
Quote:
Originally Posted by hornstar1337 View Post
When I enable column start point with: below header and above navbar
All my pages show good. eg. footer is not messed up.

However, when I choose below navbar and below notices or below notices and forum descriptions almost all my other pages, eg. registration page, calendar page are showing up weird, eg. my footer is all messed up. Even with it disabled to not show on those pages they are still showing up weird.


So currently I have it set to below header and above navbar however ideally I like the setting: below navbar and below notices better.

What code is it looking for when it is set to this option? Maybe one of my templates does not have the needed code? or maybe I will need to make the template edit manually in which case, what templates and code do I need to edit?

Thanks.
Use the manual edit option and follow the manual edit options.
Quote:
Originally Posted by DirtSnap View Post
first i would like to say thanks for the awesome hack kerry.

secondly, i feel like a total n00b for saying this but i can't even get the right column to work...
i followed the guide in the zip, enabled the right column in the vBulletin options > Ultimate Side Columns Options, then i tried to put some code onto the usc_block11 (i had no idea what i was doing here). I basically just want to make adsense ads show up in a right column. This is my code:

Code:
<tr>
<td class="alt1">   //had no idea what to put in the class

//adsense script
<script type="text/javascript"><!--
google_ad_client = "pub-XXXXXXXXXXXXXXXXXXX";
/* 120x600, created 7/9/08 */
google_ad_slot = "XXXXXXXXXX";
google_ad_width = 120;
google_ad_height = 600;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>


</td>
</tr>
If anyone could help me out, give me a rough idea how to get it working, or anything i would greatly appreciate it.
That's fine. Make sure you have set the permissions for your usergroup to view the permissions.
Quote:
Originally Posted by Budget101 View Post
I am using the sidebar (Which I love, and thank you very much!!!), However, I cannot seem to get the blocks to show as "Individual" blocks.

For example, in the left hand column I am using Block 1 - which shows navigation buttons.

In Block 2, I have the following code

PHP Code:
<tr>
<
td><p align="center"><b><font color="#BC496B">SPONSORS</font></b><br>
SPONSOR CODE SNIPPED</p>
</
td>
</
tr
But, they all seem to run together like 1 Big long block instead of seperate ones,

block 1
block 2
block 3

How do I make them show individually?

(Just a note, I tried adding <br /> to the end of the code in box 2, but it only made the default box lower, rather than Block 2.
Code:
<tr>
<td><p align="center"><b><font color="#BC496B">SPONSORS</font></b><br>
SPONSOR CODE SNIPPED</p>
</td>
</tr>
</table>
<br />
<br />
<table width="100%" class="tborder" border="0" cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]">
Add the bold code as shown.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01162 seconds
  • Memory Usage 1,799KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_code
  • (1)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete