PDA

View Full Version : Miscellaneous Hacks - vbulletin.org Footer Info Panel


Princeton
06-12-2007, 10:00 PM
NEW 1.0.1 VERSION (download product_gtfooterpanel.xml)

The 1.0.1 version is a "No Template Edits" version

Many times it's difficult for visitors to find information. That's why the "Footer Information Panel" was created.

It's available to display the most important links to your site. It's accessible and user-friendly.

Custom modification brought to you by Joe Velez (aka Princeton vbulletin.org Admin).

Show your support and click Mark As Installed, Nominate For MOTM, or Support Developer.

Want to insert additional links?

Go into the global_setup_complete plugin and edit the following to suit your needs:
// uncomment to add links to footer info panel
// $template_hook['footer_info_left'] .= "<li><a href=\"info.php?$session[sessionurl]do=newpage\">link on left side</a></li>";
// $template_hook[footer_info_right] .= "<li><a href=\"info.php?$session[sessionurl]do=newpage\">link on right side</a></li>"; History:

November 1 2007 - released a "No Template Edits" version; phrased all hard-coded text
June 13, 2007 - released "Footer Info Panel"Recently Released Modifications:
GTUserCP - Enhanced USERCP Interface + USERCP Menu (https://vborg.vbsupport.ru/showthread.php?t=136321)
GTPrivate Messages Enhanced Listing (preview message) (https://vborg.vbsupport.ru/showthread.php?t=149710)
GTHighlight Unread Announcements (https://vborg.vbsupport.ru/showthread.php?t=149780)
New Private Message Alert Popup (https://vborg.vbsupport.ru/showthread.php?t=149658)
Other modifications (https://vborg.vbsupport.ru/member.php?u=925)..

Nutz
06-13-2007, 08:30 PM
Nice, glad to see some vB.org mods being released :)

Thanks,
Mat

StuntFactoryX
06-13-2007, 09:43 PM
thanks princeton, any chance of getting the whole footer like here on vb.org w/ dummy links (like...link1, link2)

i like how u have the copyright stuff in the left... and links to the right. :) the 2 together compliments each other nicly

rjmjr69
06-13-2007, 10:13 PM
Nice thanks can you make it so its collapsible.

Princeton
06-13-2007, 11:55 PM
thanks princeton, any chance of getting the whole footer like here on vb.org w/ dummy links (like...link1, link2)

i like how u have the copyright stuff in the left... and links to the right. :) the 2 together compliments each other nicly
not a good idea ... there will be many posts asking "how can I remove the dummy links?"

you can accomplish the same thing yourself .. just copy and paste

StuntFactoryX
06-14-2007, 12:20 AM
actuly i was referring to below the add on box... below gmt time... how u layed the footer out. compliments this add on nicely :)

SuperTaz
06-14-2007, 04:35 AM
actuly i was referring to below the add on box... below gmt time... how u layed the footer out. compliments this add on nicely :)

I was kind of wondering that myself. Good question.

soletrader
06-14-2007, 10:03 AM
Hello,

Thank you very much for this. I was actually looking for this and glad I found it. One question, for vbadvanced users who have a left or right column, how can we get this table to align properly? The problem I have is that is spreads across the entire page. I would like to align it with the center section and not have it expand where the left column is located.

Thank you

Quantnet
06-14-2007, 11:26 PM
wowo...

I'm interested in the no template edit version. Thanks

rjmjr69
06-15-2007, 12:50 AM
I'de love to see it collapsable

Xplorer4x4
06-16-2007, 04:53 AM
No template edit version would be nice :)

ssslippy
06-18-2007, 03:22 AM
I would love to see a no tempolate edit version, so much easier.

baghdad4ever
06-18-2007, 06:18 PM
how can i increase links in section New To Site?

Princeton
06-19-2007, 01:04 PM
how can i increase links in section New To Site?
you will need to manually add the code (eg. HTML)

you can just copy/paste one of the existing links to get an idea

rjmjr69
06-19-2007, 10:01 PM
I'de love to see it collapsable

So can this be done or not?

Talisman
06-20-2007, 02:12 AM
Ty Princeton.. now I just need to figure out how we'll use the space down there.

baghdad4ever
06-20-2007, 09:45 AM
you will need to manually add the code (eg. HTML)

you can just copy/paste one of the existing links to get an idea


thanks prince

i will take your advice

Legendery.
06-21-2007, 01:00 PM
thanks Princeton.......
regards

713JunctionP
06-24-2007, 06:23 PM
:up: awesome!

vuiveclub
08-03-2007, 08:43 PM
Hi, plz Priceton, how to code vbulletin.org Meet Our Staff (https://vborg.vbsupport.ru/info.php?do=staff)??

rayphua
08-04-2007, 03:04 AM
Great one! Yeah, how do we do the meet our staff page? Thanks!

ishare
08-04-2007, 06:32 PM
thanks a lot for this nice and usefull share
installed

Ohiosweetheart
08-05-2007, 02:42 PM
love it, Love it LOVE IT!

I'm absolutely interested in a No template edit version ;)

dcohn
10-02-2007, 01:09 AM
I would love a no template edit version.

Nickbe
10-02-2007, 03:26 PM
Looks great but there is a small problem I am left with the 'Log Out' option just above this box to the right. Cant fine what template that info is in it does not seem to be in the footer template. Any advice?

TheAlthing
10-05-2007, 10:10 PM
Looks great but there is a small problem I am left with the 'Log Out' option just above this box to the right. Cant fine what template that info is in it does not seem to be in the footer template. Any advice?
It's in FORUMHOME.

Masiello
10-15-2007, 07:42 AM
Hi, the logout say "Undefined" in the alert after clicks Log out link, I don't remember how to fix this.

Masiello
10-15-2007, 07:48 AM
Ok, fixed myself by replacing
<a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a>
to

<a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a>


Very usefull hack, thx.

ScR1Pt
10-15-2007, 02:32 PM
thank u "Princeton"

and your best in top :) :)

yoyoyoyo
10-28-2007, 11:11 AM
If there is a demand for it .. I will create a NO TEMPLATE EDITS version.I would love to see a no template edit version

Princeton
11-01-2007, 03:09 PM
New version now available
- a "No Template Edits" version;
- hard-coded text are now phrased

Charuvils
11-01-2007, 08:23 PM
Hi princeton .. i Just installed this version.

But where can i change it's settings .. i just looked into vbulletin options for it and couldn't find it

strange :(

Princeton
11-01-2007, 11:16 PM
Hi princeton .. i Just installed this version.

But where can i change it's settings .. i just looked into vbulletin options for it and couldn't find it

strange :(
This modification does not have any settings.

periphrastic
11-03-2007, 11:46 PM
New version now available
- a "No Template Edits" version;
- hard-coded text are now phrased



princeton, thank you oh so much

Mellow
11-07-2007, 12:57 PM
I'd also like a collapsible mod... thanks!

BadgerDog
11-14-2007, 02:34 PM
Installed.... :up:

Thanks

Regards,
Badger

anwar.abdullakh
11-21-2007, 08:02 AM
installed but for some reason can't seem to edit the urls properly..
getting the following error..

Parse error: syntax error, unexpected T_STRING in /home/forum/www/global.php(787) : eval()'d code on line 159

NashChristian
03-08-2008, 09:14 AM
Hello Princeton, thanks for the mod!

I'm experiencing one little formatting issue, if you would be so kind as to help.

Site Demo (http://nashvillechristian.com/)

By the way, I'm running vBa if that makes any difference.

It appears that I currently have two line breaks <br /> ABOVE the footer panel, and zero line breaks <br /> below the footer panel. I would like to change this so that I have one line break above the footer panel, and one line break below the footer panel.

I can't figure out for the life of me, which template I need to edit to make this change. This code is not in the footer template. I don't see it in your product file. Where is the code located at responsible for this formatting?

Thanks for the help!
Jeff

MrPHD
03-08-2008, 09:51 AM
Thanks Princeton.Good Installed.

NashChristian
03-12-2008, 06:26 AM
Hello Princeton, thanks for the mod!

I'm experiencing one little formatting issue, if you would be so kind as to help.

Site Demo (http://nashvillechristian.com/)

By the way, I'm running vBa if that makes any difference.

It appears that I currently have two line breaks <br /> ABOVE the footer panel, and zero line breaks <br /> below the footer panel. I would like to change this so that I have one line break above the footer panel, and one line break below the footer panel.

I can't figure out for the life of me, which template I need to edit to make this change. This code is not in the footer template. I don't see it in your product file. Where is the code located at responsible for this formatting?

Thanks for the help!
Jeff

Bump...

Princeton
03-12-2008, 12:44 PM
edit gtfooter_panel template

MissKalunji
03-12-2008, 02:35 PM
works fine :) *clicks install*
What would be the condition code to put to prevent it from showing in the portal?

rolandogomez
03-13-2008, 11:17 PM
Does this work with vB3.7 B6? Thanks, rg.

MissKalunji
03-13-2008, 11:52 PM
Does this work with vB3.7 B6? Thanks, rg.

it's just standard table code so yes it should

rolandogomez
03-14-2008, 06:45 AM
it's just standard table code so yes it should

Well it worked somewhat. I had to hardcode the URL's to make it work in VBAdvanced, even after adding the files names in the global advance settings in the admin panel. I noticed too that the logout URL already in the XML file worked fine, inserting the /forums/ in the footer while in the VBA front page, but the other three links already included did not, so I got brave, edited the XML file, entered the full URL's there, it worked. Then I got brave again, played with the tables and now I have an area to sell text links, check it out, http://www.shotcritic.com.

Here's what I edited in the XML file:

Change this:

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">

<thead>

<tr>

<td class="tcat" align="$stylevar[left]" width="50%">New to ShotCritic Photography Forums?</td>

<td class="tcat" align="$stylevar[left]" width="50%">Need Help in our Digital Photography Community?</td>

</tr>

</thead>

<tbody>

<tr>

<td class="alt1" align="$stylevar[left]" valign="top">

<ul>

<if condition="$show['guest']">

<li><a href="register.php$session[sessionurl_q]">$vbphrase[register_to_participate]</a></li>

</if>

<if condition="$vboptions['forumleaders']">

<li><a href="http://www.shotcritic.com/forums/showgroups.php$session[sessionurl_q]" rel="nofollow">$vbphrase[view_forum_leaders]</a></li>

</if>

<if condition="$show['searchbuttons']">

<li><a href="http://www.shotcritic.com/forums/search.php" rel="nofollow">$vbphrase[search]</a></li>

</if>

<if condition="$vboptions[privacyurl]">

<li><a href="$vboptions[privacyurl]">$vbphrase[privacy_statement]</a></li>

</if>

$template_hook[footer_info_left]

<li><a href="$vboptions[contactuslink]">$vbphrase[contact_us]</a></li>

</ul>

</td>

<td class="alt1" align="$stylevar[left]" valign="top">

<ul>

<li><a href="http://www.shotcritic.com/forums/faq.php$session[sessionurl_q]">$vbphrase[frequently_asked_questions]</a></li>

<if condition="$show['guest']">

<li><a href="login.php?$session[sessionurl]do=lostpw">$vbphrase[did_you_forget_your_password]</a></li>

</if>

$template_hook[footer_info_right]

<if condition="$show['member']">

<li><a href="$vboptions[bburl]/login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a></li>

</if>

</ul>

</td>

</tr>

</tbody>

</table>

to this:

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">

<thead>
<tr>
<td class="tcat" align="$stylevar[left]" width="50%">ShotCritic Photography Sponsors</td>
<td class="tcat" align="$stylevar[left]" width="50%">ShotCritic Digital Photography Community Supporters</td>
</tr>
<tr>
<td class="alt1" align="$stylevar[left]" width="50%">Get your link here, for more info <a href="$vboptions[contactuslink]">$vbphrase[contact_us]</a>.</td>
<td class="alt1" align="$stylevar[left]" width="50%">Get your link here, for more info <a href="$vboptions[contactuslink]">$vbphrase[contact_us]</a>.</td>
</tr>
<tr>

<td class="tcat" align="$stylevar[left]" width="50%">New to ShotCritic Photography Forums?</td>

<td class="tcat" align="$stylevar[left]" width="50%">Need Help in our Digital Photography Community?</td>

</tr>

</thead>

<tbody>

<tr>

<td class="alt1" align="$stylevar[left]" valign="top">

<ul>

<if condition="$show['guest']">

<li><a href="register.php$session[sessionurl_q]">$vbphrase[register_to_participate]</a></li>

</if>

<if condition="$vboptions['forumleaders']">

<li><a href="http://www.shotcritic.com/forums/showgroups.php$session[sessionurl_q]" rel="nofollow">$vbphrase[view_forum_leaders]</a></li>

</if>

<if condition="$show['searchbuttons']">

<li><a href="http://www.shotcritic.com/forums/search.php" rel="nofollow">$vbphrase[search]</a></li>

</if>

<if condition="$vboptions[privacyurl]">

<li><a href="$vboptions[privacyurl]">$vbphrase[privacy_statement]</a></li>

</if>

$template_hook[footer_info_left]

<li><a href="$vboptions[contactuslink]">$vbphrase[contact_us]</a></li>

</ul>

</td>

<td class="alt1" align="$stylevar[left]" valign="top">

<ul>

<li><a href="http://www.shotcritic.com/forums/faq.php$session[sessionurl_q]">$vbphrase[frequently_asked_questions]</a></li>

<if condition="$show['guest']">

<li><a href="login.php?$session[sessionurl]do=lostpw">$vbphrase[did_you_forget_your_password]</a></li>

</if>

$template_hook[footer_info_right]

<if condition="$show['member']">

<li><a href="$vboptions[bburl]/login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a></li>

</if>

</ul>

</td>

</tr>

</tbody>

</table>

Works great, though I had to re-enter the new links in the plugin management when I re-uploaded the XML file, thanks, rg sends!

MissKalunji
03-14-2008, 01:46 PM
yeah Cool :) u didn't have to use the plugins it had the templates that u could have used.

Glad it worked out for you i did forget to tell you about the urls

heeroyun
03-14-2008, 05:29 PM
Exactly what template to edit to add additional links ? :(

MissKalunji
03-14-2008, 05:40 PM
in the footer

heeroyun
03-14-2008, 05:47 PM
I don't see anything there :/

MissKalunji
03-14-2008, 06:00 PM
oh wait you used the plugin

if u used the plugin

look for this template : gtfooter_panel

If u did the manual edit then it would have been footer

My bad

heeroyun
03-15-2008, 12:14 AM
Ok , got it . Thx a loot Misskalunji :)

MissKalunji
03-15-2008, 12:44 AM
anytime

masterme
03-15-2008, 02:04 PM
I tried to install it, but there was no info panel :(
probaly a template issue, but uninstalled it anyway.

Nice mod though.

MissKalunji
03-15-2008, 03:02 PM
I tried to install it, but there was no info panel :(
probaly a template issue, but uninstalled it anyway.

Nice mod though.

u don't HAVE to install the product you can just do the template modification

viper357
03-16-2008, 05:49 AM
Are you using a hack for the info.php pages that are linked in the box, like the Meet Our Staff Page?

viper357
03-21-2008, 08:23 AM
Are you using a hack for the info.php pages that are linked in the box, like the Meet Our Staff Page?
Anyone? What is vb.org using to create their pages?

Boofo
03-21-2008, 08:28 AM
An info.php file with the code for the various pages in it and calling templates.

carubmun
04-23-2008, 02:00 AM
So i dont need to install the plugin, just edit the footer template?
If so... nice :)

chick
05-01-2008, 05:06 PM
Thank you very much (marked installed) I am going to attempt it.

PHILIPS-08
05-29-2008, 07:50 AM
thanx alot good looking

vcruiser
06-06-2008, 11:26 PM
Fresh install and some links are showing up as 404. Where can I make the adjustments to make those links work?

PoetJA-1975
06-25-2008, 07:51 AM
Thanx!

Jacquii.

GaiLoan
07-25-2008, 07:07 AM
can you please upgrade onto v3.7.x ? thanks

joomlajunkie
08-07-2008, 11:40 PM
what are you talking about GaiLoan, it works on 3.7.2

PHILLYFAN
08-11-2008, 07:11 PM
is there away to "view forum leader" so show just certain user groups?

PHILLYFAN
08-11-2008, 07:16 PM
Also im not following how to add additional links into it. Can someone please help

***Clicked INstall***

Forum Lover
08-24-2008, 08:55 AM
As u see there is two part... Can u please tell me how can I make three instead? Please check the attachment, u will get it what I am asking for...

And hope its working for 3.7 version.

PoetJA-1975
08-24-2008, 10:18 PM
Like at http://JPiCForum.info --- see the footer...
You simply edit the footer template - the code would look similiar to

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" align="$stylevar[left]" width="50%">New To Site?</td>
<td class="tcat" align="$stylevar[left]" width="50%">Need Help?</td>
<td class="tcat" align="$stylevar[left]" width="50%">NEW THIRD SECTION</td>
</tr>
</thead>
<tbody>
<tr>
<td class="alt1" align="$stylevar[left]" valign="top">
<ul>
<if condition="$show['guest']">
<li><a href="register.php$session[sessionurl_q]">Register to Participate</a></li>
</if>
<if condition="$vboptions['forumleaders']">
<li><a href="showgroups.php$session[sessionurl_q]" rel="nofollow">$vbphrase[view_forum_leaders]</a></li>
</if>
<if condition="$vboptions[privacyurl]">
<li><a href="$vboptions[privacyurl]">$vbphrase[privacy_statement]</a></li>
</if>
<li><a href="$vboptions[contactuslink]">$vbphrase[contact_us]</a></li>
</ul>
</td>
<td class="alt1" align="$stylevar[left]" valign="top">
<ul>
<li><a href="faq.php$session[sessionurl_q]">Frequently Asked Questions</a></li>
<if condition="$show['guest']">
<li><a href="login.php?$session[sessionurl]do=lostpw">Did you forget your password?</a></li>
</if>
<li><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></li>
<if condition="$show['member']">
<li><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a></li>
</if>
</ul>
</td>
<td class="alt1" align="$stylevar[left]" valign="top">
<ul>
<li><a href="URL LINK">NEW THIRD SECTION</a></li>
<li><a href="URL LINK">NEW THIRD SECTION</a></li>
<li><a href="URL LINK">NEW THIRD SECTION</a></li>
<li><a href="URL LINK">NEW THIRD SECTION</phrase></a></li>
</ul>
</td>
</tr>
</tbody>
</table>

And yes - it works for 3.7 - simply use the template edit code instead of the actual product.
Hope this helps ;)

Jacquii.

Forum Lover
09-16-2008, 08:53 AM
I am giving a try. Check my one, I just put one link at my navbar.. www.joubonjala.com just to put some extra links.

Hell!! Jac! what have u done at your forum!! nice work!! Liked your menu thing. :p

PoetJA-1975
09-16-2008, 05:13 PM
LOL!!!!! Thanx - I redesigned the JPiC style for our 2nd anniversary ;)

Jacquii.

Switch02
03-25-2009, 11:01 AM
Hi, plz Priceton, how to code vbulletin.org Meet Our Staff (https://vborg.vbsupport.ru/info.php?do=staff)??

Yes me too i'm interested to know how to have this page.

thompson
03-25-2009, 11:46 AM
thanks.

I.am
03-26-2009, 08:31 AM
meet our staff here at vb.org, is a mod or only a page coded?

powerful_rogue
04-03-2009, 01:30 PM
meet our staff here at vb.org, is a mod or only a page coded?

Id be very interested to know as well.

TimberFloorAu
04-12-2009, 11:17 PM
Could you please give us the code for collapsing this please.

Ste

TimberFloorAu
04-16-2009, 08:31 PM
***Bump***

TimberFloorAu
04-20-2009, 03:05 AM
Bumpetybump ;)

bigcurt
09-26-2009, 10:39 PM
Would love to see collapse code as well.

Thanks,
Curt

OFFSHORE DAN
10-01-2013, 07:01 AM
Looking for something like this for vb4.2. Any suggestions since the table requirements seem to be different.