PDA

View Full Version : Forum Home Enhancements - Left side column on forum home only


Pages : 1 [2]

joshbond
12-16-2007, 09:08 PM
Wow! thank you so much for this!
Possibly one of the best additions I've ever added to my site. I love it!!!!!

thank you!

Stile2
12-20-2007, 06:21 PM
Is there any way to add the Welcome Block Module to the left column?

Or other modules?

Thanks
Keith

leylandfor
12-26-2007, 11:29 PM
Hi

I have installed but im finding it hard to insert headers, and links. my code looks like this, please copy/paste code on how it looks with it containing proper information, links etc so i can see what i need to do. Basic problem, but pretty new to coding

<?xml version="1.0" encoding="ISO-8859-1"?>

<product productid="peterska2_sidecol_left" active="1">
<title>Left Side Column</title>
<description>Adds a left side column to your forums</description>
<version>1.0.2</version>
<url />
<versioncheckurl><![CDATA[https://vborg.vbsupport.ru/misc.php?do=checkversion&t=117988]]></versioncheckurl>
<dependencies>
</dependencies>
<codes>
</codes>
<templates>
<template name="forumhome_sidecolumn_left" templatetype="template" date="1144738789" username="peterska2" version="1.0.0"><![CDATA[<tr>
<td class="thead">
COMING SOON
</td>
</tr>
<tr>
<td class="alt1">
We are working on
</td>
</tr>
<tr>
<td class="alt2">
completing ASAP.
</td>
</tr>]]></template>
</templates>
<plugins>
<plugin active="1" executionorder="5">
<title>Left Side Column 1</title>
<hookname>cache_templates</hookname>
<phpcode><![CDATA[$globaltemplates = array_merge($globaltemplates, array('forumhome_sidecolumn_left'));]]></phpcode>
</plugin>
<plugin active="1" executionorder="5">
<title>Left Side Column 2</title>
<hookname>parse_templates</hookname>
<phpcode><![CDATA[eval('$forumhome_sidecolumn_left = "' . fetch_template('forumhome_sidecolumn_left') . '";');]]></phpcode>
</plugin>
</plugins>
<phrases>
</phrases>
<options>
</options>
<helptopics>
</helptopics>
<cronentries>
</cronentries>
<faqentries>
</faqentries>
</product>

your help is very much appreciated. you can see my forum at www.leylandforum.co.uk/forum to see what i have done so far with regards to the column

ericholtman
01-05-2008, 02:36 PM
I love this mod, had it installed in 3.5 and it worked perfectly. I realize it's unsupported, but I'm hoping someone can offer some help with some alignment issues I seem to be suffering. I just have no idea what is going on. (Please note that I purposely changed the bottom position so that the side column stops before the "what's going on" box rather than the footer.)

http://www.mouseowners.com/forums/

Thanks.

Kim

Guest210212002
01-27-2008, 05:38 PM
Perfect .. !

Is there any way to show that in all the pages .. ?

thank's

Answered on the very first page of this thread.

https://vborg.vbsupport.ru/showthread.php?t=117988&page=1

* Guest210212002 clicks install

goranbaxy
01-28-2008, 07:24 AM
Great mod, is it possible to have it on the right side?

ReaperUK
01-29-2008, 09:13 PM
this would be perfect it it was on every page

iBaker
02-06-2008, 09:05 PM
I am testing this on 3.7 BETA 4 and all looks ok

One thing that some others have said about putting this on all pages - don't know about your individual forums but I have placed the code:

<table border="0" width="100%" cellspacing="0" cellpadding="0" align="center">
<tr>
<td valign="top" width="160px">
<table class="tborder" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" width="100%" align="center">
$forumhome_sidecolumn_left
</table>
</td>
<td width="10px"></td>
<td valign="top">at the bottom of the navbar template

and this code:

</td>
</tr>
</table>at the very top of the footer template and the side column is on every page of the site.

sdavis2702
05-01-2008, 09:18 AM
awesome... thanks!

willz121
07-07-2008, 03:53 PM
I've been searching for a side nav for 2 days now, and this has answered my prayers!! thanks dude

mindfrost82
07-18-2008, 12:22 PM
I'm trying to use the $totalonline thing to show the total number of people on and it doesn't display anything. Is there something special I have to do to get that to work?

49er
07-22-2008, 02:29 PM
Hello. i have this code to show down the left side but the counts do not show? :erm:

<td class="alt1"><span class="smallfont">
Forum Members: $numbermembers<br />
Total Threads: $totalthreads<br />
Posts: $totalposts<br />

How do i get them to show? :confused:

Thanks

Yalan
09-25-2008, 10:58 PM
thanks, nice mod :up:

dmknights
02-09-2009, 02:25 PM
will this mod work on 3.8?

john h
04-23-2009, 08:24 AM
Confirmed working in 3.8.2

bollie
06-04-2009, 12:22 PM
Is there any way for doing this for top posters and or latest posts?
<span class="smallfont"><script type="text/javascript" src="http://www.ny-dev.com/forums/external.php?type=js"></script>
<script language="" type="text/javascript">
<!--
for (i = 0; i < 10; i++)
{
document.writeln("<a href=\"http://www.ny-dev.com/forums/showthread.php?threadid="+threads[i].threadid+"\">"+threads[i].title+"</a><br /> <hr />");
}
//-->
</script></span>

Work nice ;) look left www.pctuts.be

jaderollie
09-17-2009, 11:40 AM
great effect, and i like it, nice 1 ;)
well appreciated thanks

how do i lengthen the bottem of my forums to fit ????

heres how they look at the moment, i have a 2 inch gap :-
http://img248.imageshack.us/img248/2343/image1dj.jpg (http://img248.imageshack.us/i/image1dj.jpg/) http://img248.imageshack.us/img248/image1dj.jpg/1/w1114.png (http://g.imageshack.us/img248/image1dj.jpg/1/)

i want the blue lines pulled in to fit across the forum please
thanks again

red.death
11-12-2009, 04:38 PM
When i add the second block, it goes next to the first block but not under it on IE. However on Firefox it all looks okay. Does anyone know what im doing wrong?

Heres my code:

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="200" align="left">

<tr><td class="tcat">Account Info</td></tr>

<tr><td class="alt1">

<if condition="$show['member']">
<div style="border-bottom: 1px solid #5F5F5F; padding-bottom: 4px; padding-top: 4px;"><b>Username:</b> $bbuserinfo[musername]</div>

<div style="border-bottom: 1px solid #5F5F5F; padding-bottom: 4px; padding-top: 4px;"><b>Member ID:</b> $bbuserinfo[userid]</div>

<div style="border-bottom: 1px solid #5F5F5F; padding-bottom: 4px; padding-top: 4px;"><b>Posts:</b> $bbuserinfo[posts]</div>

<div style="border-bottom: 1px solid #5F5F5F; padding-bottom: 4px; padding-top: 4px;"><b>Reputation:</b> $bbuserinfo[reputation]</div>

<div style="padding-bottom: 4px; padding-top: 4px;"><b>Inbox:</b> $bbuserinfo[pmunread]</div>

<if condition="$show['notifications'] AND $show['popups']">
<div style="border-top: 1px solid #5F5F5F; padding-bottom: 4px; padding-top: 4px;">
<div><span id="notifications"><a href="usercp.php$session[sessionurl_q]"><font color="darkgreen"><strong>Notifications:</strong></a> <strong>$notifications_total</strong></font></span></div>
<script type="text/javascript"> vBmenu.register("notifications"); </script></if>
<else />

<!-- login form -->
<form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
<script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td class="smallfont" style="white-space: nowrap;"><label for="navbar_username">$vbphrase[username]</label></td>
<td><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>
<td class="smallfont" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />$vbphrase[remember_me]</label></td>
</tr>
<tr>
<td class="smallfont"><label for="navbar_password">$vbphrase[password]</label></td>
<td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" tabindex="102" /></td>
<td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td>
</tr>
</table>
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="vb_login_md5password" />
<input type="hidden" name="vb_login_md5password_utf" />
</form>
<!-- / login form -->


<div align="right" style="margin-top: 5px;"><a href="login.php?do=lostpw"><u>Lost password?</u></a></div>

</if>
</td></tr>
</table>
<div></div>

<br />
$template_hook[sidebar_lastest_threads]