vb.org Archive

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

MPDesignZ 08-22-2007 06:34 AM

Hi I need help putting in a php code inside a block in this hack. I'm using simple pie for a rss feed and want to put in the following code into the block so that it shows up in the column like regular links:

Code:

<?php

require_once('simplepie.inc'); // Change this location to match where you uploaded the simplepie.inc file to.



$feed = new SimplePie();

$feed->set_feed_url('http://ml-implode.com/rss.xml');

// For everything else, we'll assume default settings

$feed->init();



echo '<ul class="feed">';



// We'll loop through all of the items in the feed and display a linked title for each of them.

foreach($feed->get_items() as $item)

{

    echo '<li><a href="' . $item->get_permalink() . '" target="_blank">' . $item->get_title() . '</a></li>' . "\n";

}



echo '</ul>';
?>

For some reason I do not get the actual feed URL's but just the raw code that shows up. Any help would be great!

TIA!
MP

xman_79 08-22-2007 07:31 AM

Installed .

Thanks

remlle 08-22-2007 12:17 PM

is there anyway to make these floating so they stay with the user as they scroll down?

wickland 08-22-2007 06:09 PM

Awesome EmpireZ, that did the trick, now I got 20 blocks on each side, editable from the options panel. :)

Thanks!
Best Regards

kholland 08-22-2007 06:38 PM

Hi All,

This mod is great...just having a little trouble with it.

Does any of you have your sidebars a fixed width (I assume most would)? I can't get the middle or main section to collapse when the browser is shrunk.

Any ideas would be very appreciated!

bruuuuce 08-23-2007 01:44 PM

I have read of two others that have this slow loading issue, but no solutions. It is a result of this code

<!-- USC header edit start -->
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
$usc_left
<td valign="top">
<!-- USC header edit end -->

Right after the header loads, the forum loading pauses then continues as normal.

Anyone have a solution for this?



Quote:

Originally Posted by KHALIK (Post 1205862)
Increased delayed of loading time of forum when this mod is installed.

I installed this mod with out any problems, with default columes. Only used one right-handside colum with no text or image.

I noticed there was a significent delayin the load time when that hack is installed. When I uninstalled this hack, the delay was removed.


Are you getting the same problem?


Quote:

Originally Posted by deep_blue (Post 1264740)
Hi

Is there anybody else facing problem of page laoding a bot slow. The header comes first and then remaining page where sides bars are thee, appear after a lag of 10 seconds or so?? what could be the reason


Brew 08-24-2007 01:01 AM

Does anyone know of a way to get this to show only to certain usergroups?

peterle1 08-24-2007 09:08 AM

This is a great mod and works perfect.

The only problem we have is that "Display Pages For XXX Column" doesn't offer to many choices.
Maybe it would be possible in a next version to combine choices.

Another problem that we have is that we don't want the colmns to appear in the photopost addons, but we don't know how to do it.

Maybe someone has some hints for us. :)

EmpireZ 08-25-2007 02:33 AM

Quote:

Originally Posted by Brew (Post 1324483)
Does anyone know of a way to get this to show only to certain usergroups?

Just add a array for the usergroup to show in the usc_side template.
<if condition="(in_array($vbulletin->userinfo['usergroupid'], array(6)))">

Quote:

Another problem that we have is that we don't want the colmns to appear in the photopost addons, but we don't know how to do it.

Maybe someone has some hints for us.
Use a <if> condition, script for photopost in the beginning of the header template using != to stop it from showing.

Brew 08-25-2007 01:48 PM

Quote:

Originally Posted by EmpireZ (Post 1325167)
Just add a array for the usergroup to show in the usc_side template.
<if condition="(in_array($vbulletin->userinfo['usergroupid'], array(6)))">

Man I have been searching for days for this bit of code to find what usergroup someone is a member of.

Thank you very much!

The whole reason I needed this is because there is not a mod for vB, that I can find, where you can have a side column with links to important parts of the site and other things (like latest X posts etc) and also have advertisements. But the part where the advertisements can be turned off for a certain usergroup (in my forum it's usergroup 9 for Sponsors).

As it is I have to use the vBAdManagement mod to show the links and adverts. And then use this to just show the links and other things without the adverts.

It would be really nice to see a mod where we can have a side column where only the adverts can be turned off leaving other things intact.

But this is working with the code EmpireZ gave me. I just changed the 6 to a 9 in the array and added the code to the top of the usc_sidecolumn_right template of the mod (and the </if> statement at the end).

kholland 08-29-2007 03:51 AM

2 questions,

For each column block, how do you change the background color and can you create a header for each column block?

Thanks!

T_Richardson 08-29-2007 04:19 PM

In admincp you have Ultimate Side Columns Templates under Styles & Settings/your style/Ultimate Side Columns Templates. Edit those to include whatever.

CKDexterHaven 08-29-2007 08:56 PM

Sorry--I'm an utter noob to vBulletin and mod-installation. When you edit the header and footer templates, do you access those templates through your administrative control panel, specifically by going to >Styles and Templates >Search in templates on the sidebar? Is that correct?

Also, is the mod running okay on forums that are updated to 3.6.8?

T_Richardson 08-29-2007 09:23 PM

Yes and Yes :)

CKDexterHaven 08-29-2007 11:54 PM

Thankee kindly! :)

kholland 08-30-2007 10:31 PM

Thanks T!

XFSImperial 08-30-2007 11:23 PM

This looks very very good. I look forward to installing ^_^

tryance 08-31-2007 02:11 PM

This is awesome and so EASY to install and work!
THANK YOU!!

fariborz khan 09-02-2007 06:51 AM

thank yoy for yor product
installed on 3.6.8 without problem:up:

kholland 09-04-2007 03:54 AM

After installing this mod (which I love!) I cannot get any page except for the homepage to resize down to a 1024 x 768.

Can anyone help with this? I've been trying to fix this for a awhile now and I cannot figure it out.

Thanks!

TRR 09-04-2007 05:04 PM

Any guru out there figure out how to parse php/vbcode yet? :confused:

CKDexterHaven 09-06-2007 01:28 AM

I tried to import the xml file from my computer and got this message:

XML Error: Empty document at Line 1

I've tried downloading it and importing it several times and keep getting this message. Any suggestions?

rpainter 09-07-2007 09:28 AM

Any way to get this to show on other pages, such as photoplog and arcade?

reza1217 09-08-2007 12:57 AM

Like it shows in the first attachment, the thread blocks have double padding on both side after installing the navigation bar which is normally equal to the header bolck. I didn't like it and found a lot of work to have changed the code. Maybe someone can do this easily. But would have loved the code. Also there might be some problem in opening and closing the spacers as the page have extra </div> issues.

MPDesignZ 09-13-2007 06:39 AM

I need to have in one of those boxes on my column the latest threads from only ONE forum not the entire page/forums. I need the ability to just put one forum ID so the latest threads can be called from that one forum only. Any ideas on this?

MP

TheJekyll 09-13-2007 08:59 PM

theres a little error when i install this put the codes on the footer and header when i view a pofile theres chunks missin out of it still great code

TheJekyll 09-14-2007 07:49 PM

How Can I Ass Things Like Google Adds In The Blokes And Youtube Vids, Afiliates, Urls Etc?

brookemegg 09-16-2007 06:01 PM

Help with a two things, please...

1. Does anyone know of a way to get rid of the light blue border around each table? I've tried messing with the code in the templates and the actual boxes on the vbulletin options.

2. How do I center the ad that's in the box? align and div align are not working

Thanks!

http://www.spiffymoms.com

dfe 09-17-2007 05:15 PM

I have this installed, and now added the new vBulletin Blog. Problem is the side columns takes too much space on the blog pages, so I want to keep it enabled on all pages, except the blog pages, how would I do that?

wsdeluxe 09-18-2007 05:44 PM

Quote:

Originally Posted by TRR (Post 1332275)
Any guru out there figure out how to parse php/vbcode yet? :confused:

Also interested in this...

stan111 09-20-2007 03:47 AM

any one got the problem like mine, when i have the USC on, my page have to scroll to right to see the full page, anyone know how to fix that ?
below is a screenshot
thanks in advance

https://vborg.vbsupport.ru/

yoyoyoyo 09-21-2007 12:20 AM

my header template has a lot of other hacks edited in after $phpoutput (the last line in the header template) and kerry anne mentions to addit at the very end, however when I do that I have errors. Here is what the end of my template looks like:

Quote:

$_phpinclude_output
<script type="text/javascript" src="js/ajax-dynamic-content.js"></script>
<script type="text/javascript" src="js/ajax.js"></script>
<script type="text/javascript" src="js/ajax-tooltip.js"></script>
<link rel="stylesheet" href="css/ajax-tooltip.css" media="screen" type="text/css">
<script type="text/javascript">
document.body.onclick = ajax_hideTooltip;
</script>
<script type="text/javascript">
document.body.onclick = ajax_hideTooltip;
</script>
$welcomeheaders
where should I put the code? Following the instructions, this is what I get:

https://vborg.vbsupport.ru/

as you can see, the column is reversed (right column on left side) and the actual left column does not appear anywhere, and the column is above the navbar.

any help is appreciated (NOTE: I am using 3.6.8)

Rik Brown 09-25-2007 02:33 AM

Kerry-Anne:

Simply love it! Just upgraded from the previous left column product (which was also great) and this is even more transparent with our add-ons such as Photopost. Also, noted that vb "if" conditionals work (message #280 in this mod) so one can easily turn off the left column for the new blog, whoson, etc. which we have done accordingly.

Thanks very, very much. A great product! -- Rik

nnjj.net 09-27-2007 03:31 PM

does this work on 3.6.8?

RaceJunkie 09-27-2007 03:32 PM

Quote:

Originally Posted by nnjj.net (Post 1348305)
does this work on 3.6.8?

yes :up:

yoyoyoyo 09-27-2007 04:02 PM

Quote:

Originally Posted by yoyoyoyo (Post 1343480)
my header template has a lot of other hacks edited in after $phpoutput (the last line in the header template) and kerry anne mentions to addit at the very end, however when I do that I have errors. Here is what the end of my template looks like:

where should I put the code? Following the instructions, this is what I get:

http://img220.imageshack.us/img220/8110/errorwd7.jpg

as you can see, the column is reversed (right column on left side) and the actual left column does not appear anywhere, and the column is above the navbar.

any help is appreciated (NOTE: I am using 3.6.8)

any idea how to fix this?

rapidphim 09-27-2007 06:10 PM

wondering if this hack is compatible with 3.6.8?

RaceJunkie 09-27-2007 10:46 PM

Quote:

Originally Posted by rapidphim (Post 1348437)
wondering if this hack is compatible with 3.6.8?

Did you even attempt to read any of this thread? Go to previous page for your answer.:confused:

esck 09-28-2007 02:34 AM

I have some problems/questions

in this link: http://esk.com.mx/foro/?styleid=8

Could the side bar be just below the navbar?

and in this link: http://esk.com.mx/foro/main-forum/14...html?styleid=8

Why is the side bar overlaping the background?

T_Richardson 09-28-2007 02:38 AM

Quote:

Originally Posted by esck (Post 1348689)
Could the side bar be just below the navbar?

Yes it can, I done it on my site www.alliedterritory.com


All times are GMT. The time now is 06:30 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.01809 seconds
  • Memory Usage 1,829KB
  • 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
  • (1)bbcode_code_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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