vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Miscellaneous Hacks - Ultimate Side Columns 2.2 (https://vborg.vbsupport.ru/showthread.php?t=175181)

birdie 03-25-2009 07:21 PM

Not sure what you mean by "custom links"? .. everything I put in the USC slots shows up.

Kiros72 03-25-2009 08:01 PM

Here's a fix for anyone that's having trouble deleting the custom links... The custom content won't delete because of a little bug in Kerry Anne's code.

Within the usc_cp.php file,

Find the first (on line 81):
PHP Code:

'linkid' => TYPE_INT

Change to:
PHP Code:

'id' => TYPE_INT

Save and then overwrite the original file.

BlueNinjaGo 03-25-2009 08:22 PM

Quote:

Originally Posted by Kiros72 (Post 1776951)
Here's a fix for anyone that's having trouble deleting the custom links... The custom content won't delete because of a little bug in Kerry Anne's code.

Within the usc_cp.php file,

Find the first (on line 81):
PHP Code:

'linkid' => TYPE_INT

Change to:
PHP Code:

'id' => TYPE_INT

Save and then overwrite the original file.

THANK YOU! This has been bugging me and stopping me from releasing the custom columns to my users! Thanks again.

Fungsten 03-25-2009 09:04 PM

Quote:

Originally Posted by birdie (Post 1776912)
Not sure what you mean by "custom links"? .. everything I put in the USC slots shows up.

You can put in your own links. In your control panel there is a place to put any special links you want.

birdie 03-25-2009 09:13 PM

Quote:

Originally Posted by Fungsten (Post 1777010)
You can put in your own links. In your control panel there is a place to put any special links you want.

Thanks. I don't use them - I use OpenX to deliver banner adverts or text link ads and insert the OpenX code via the template edit --- use it on 7 forums (one still 3.6; 3 are 3.7's and 3 are 3.'8) - they all work well.

Medina 03-26-2009 05:31 PM

Hello,

I would like to have the side column as in the next picture;

http://www.maroqui.nl/forums/skycraper.png
See the ad-banner with the TELE2 text.


I have inserted the next html code into the header;

HTML Code:

<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
$usc_left
<td valign="top" width="100%">

And then i have to inserted the closing code;

HTML Code:

</td>
$usc_right
</tr>
</table>

This last code is really a clue for me. I dont know where to place it. Or to be straight i dont know if i have placed the first one on its place.
It doesnt work for me. And im still getting a very ugly forumhome.


So thats why i hope that someone can help me with this. I have placed my header without any modifications from my side.


All help is appreciated.

Medina

HTML Code:

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="2" align="center" bgcolor="#FFFFFF" class="border_out">
<tr>
    <td align="center" valign="top">
<div align="center" class="border_in">
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" class="header_bg">
<tr>
    <td align="$stylevar[left]" valign="top" height="107">
    <a href="http://www.maroqui.nl/forums/">
    <img title="Maroqui Community" border="0" src="http://www.maroqui.nl/forums/Mq.png"></a></td>
<!-- /logo -->
 <td align="$stylevar[right]" id="header_right_cell">
        <if condition="$ad_location['ad_header_logo']">
        $ad_location[ad_header_logo]<else />&nbsp;</if>
 
    </td>
</tr>
<tr>
<td height="37" colspan="2">
<!-- nav buttons bar -->
    <table  cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
    <tr align="center">
        <if condition="$show['member']">
            <td class="navbar"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
        </if>
        <if condition="$show['registerbutton']">
            <td class="navbar"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
        </if>
<if condition="$vbulletin->products['vbprojecttools']"><td class="navbar"><a href="project.php$session[sessionurl_q]">$vbphrase[projects]</a></td></if>
<if condition="$vbulletin->products['vbblogs']"><td class="navbar"><a href="blog.php$session[sessionurl_q]">$vbphrase[blogs]</a></td></if>
 $template_hook[navbar_buttons_left]
        <td class="navbar"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
        <td class="navbar"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
        <td class="navbar"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
        <if condition="$show['popups']">       
            <if condition="$show['searchbuttons']">
                <if condition="$show['member']">
                <td class="navbar"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
                <else />
                <td class="navbar"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
                </if>
                <td id="navbar_search" class="navbar"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search"); </script></if></td>
            </if>
            <if condition="$show['member']">
                <td id="usercptools" class="navbar"><a href="$show[nojs_link]#usercptools">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>       
            </if>
        <else />       
            <if condition="$show['searchbuttons']">
                <td class="navbar"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
                <if condition="$show['member']">
                <td class="navbar"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
                <else />
                <td class="navbar"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
                </if>
            </if>
            <td class="navbar"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>
            <if condition="$show['member']">           
                <td class="navbar"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td>           
            </if>           
        </if>
$template_hook[navbar_buttons_right]
        <if condition="$show['member']">
            <td class="navbar"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">$vbphrase[log_out]</a></td>
        </if>
    </tr>
    </table>
<!-- / nav buttons bar -->
</td></tr>
</table>
<!-- /logo -->
 
<!-- content table -->
$spacer_open
 
$_phpinclude_output
 
$ad_location[ad_header_end]


OCSupertones 03-30-2009 04:55 PM

I just finished searching all 50 pages for a way to integrate PHP. I've tried:

PHP Code:

<?php include("MyPage.php");?>

PHP Code:

$my_custom 

Neither work...Anyone have a solution?

daydie 04-01-2009 01:05 PM

this not work for 3.8.2?

Fungsten 04-01-2009 07:04 PM

Quote:

Originally Posted by daydie (Post 1781712)
this not work for 3.8.2?

Works on mine except for the Custom Columns.

EagleNick 04-07-2009 01:07 AM

This mod looks very promising and great. But for some reason, none of the content blocks are appearing.

See my screenshots to see what options I have selected and the result it produces.

Any assistance is greatly appreciated.


All times are GMT. The time now is 08:39 PM.

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.03386 seconds
  • Memory Usage 1,790KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_html_printable
  • (6)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete