vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Add RSS button at bottom of page (https://vborg.vbsupport.ru/showthread.php?t=98805)

MarkyLeonard 10-18-2005 10:00 PM

Add RSS button at bottom of page
 
Adds an https://vborg.vbsupport.ru/ button to the bottom of the page (next to the "top" hyperlink)

1. Upload RSS.GIF to yourforum/images/misc

2. Admin CP > Styles and Templates > Style Manager > All Style Options

In "footer", find :

PHP Code:

<a href="#top" onclick="self.scrollTo(0, 0); return false;">$vbphrase[top]</a

Below it, add :

PHP Code:

 <a href="external.php?type=rss" target="_blank"> <img src="$stylevar[imgdir_misc]/rss.gif" width="36" height="14" border="0"></a

Done!

Snake 10-19-2005 09:39 PM

You could have made this as a tutorial. It's way too simple to add an RSS button in a template.

MarkyLeonard 10-19-2005 09:44 PM

I'm not experienced enough to start teaching people via tutorials lol!

Snake 10-19-2005 09:52 PM

Then why go, create and release hacks when you don't even know what you're doing?

MarkyLeonard 10-19-2005 10:08 PM

Quote:

Originally Posted by Aftermath
Then why go, create and release hacks when you don't even know what you're doing?

I know what I'm doing enough to release this mod which definitely works. Jeez - negativity! It might teach people about external.php and stylevars anyway.

If one person finds this mod useful, it's done it's job :cheeky:

Jenta 10-19-2005 10:35 PM

Wrong forum. It's a template mod.
https://vborg.vbsupport.ru/forumdisplay.php?f=155

TCM 10-19-2005 10:40 PM

Quote:

Originally Posted by Jenta
Wrong forum. It's a template mod.
https://vborg.vbsupport.ru/forumdisplay.php?f=155

He's uploading an image, eh?

CompuJonathan 10-20-2005 01:26 AM

ahh! Thanks Mark. You saved me the time of looking into how to do this. I've been thinking of adding a RSS button to my footer for some time now but haven't taken the time to figure it out.

Cheers!

/me clicks install

MissKalunji 10-20-2005 07:37 AM

Thanks Mark! perfect been thinkin of thi for a long time

MarkyLeonard 10-20-2005 09:28 AM

Glad its of help!

bullseye17 10-20-2005 12:57 PM

for some reason, the RSS button will not show up on my forum...

Wired1 10-20-2005 01:12 PM

Do you have RSS enabled on your forum?

MarkyLeonard 10-20-2005 02:27 PM

Go to http://www.YOURDOMAIN.COM/FORUM/images/misc.gif to check if the image is in the right place?

Gizmo5h1t3 10-20-2005 03:18 PM

Quote:

Originally Posted by Aftermath
Then why go, create and release hacks when you don't even know what you're doing?


you might want to start taking stock of why all your posts are negative aftermath...jeez man,every time your name pops up, its critizing something.....u never seem to have a good word tosay bout anything!!

chill man, markys done this to help....read down the thread, someones actually grateful for it....u might wanna take a leaf out of his book....

i for one am glad he`s posted it...so as he saysin his post....jobs a good un!!

Pramodinfo 10-20-2005 04:39 PM

*clicks install*

XFGHIA 10-21-2005 05:49 AM

this might be off the hack topic, but what exactly does RSS do? i installed this and when i click the button it comes up with a blank page

MarkyLeonard 10-21-2005 10:33 AM

<a href="https://en.wikipedia.org/wiki/RSS_%28file_format%29" target="_blank">http://en.wikipedia.org/wiki/RSS_%28file_format%29</a>

ryuuchida 10-23-2005 02:44 AM

A simple and nice hack. :)

>>installs

Carl Anderson 10-23-2005 03:56 AM

Click Install

MarkyLeonard 10-24-2005 06:05 PM

If people preferred RDF they could of course use http://www.lavinya.net/phpBB2/rdf.gif as the image, and

PHP Code:

 <a href="external.php?type=rdf" target="_blank"> <img src="$stylevar[imgdir_misc]/rdf.gif" width="36" height="14" border="0"></a

as the code

or....

PHP Code:

 <a href="external.php?type=rss" target="_blank"> <img src="$stylevar[imgdir_misc]/rss.gif" width="36" height="14" border="0"></a
 <
a href="external.php?type=rdf" target="_blank"> <img src="$stylevar[imgdir_misc]/rdf.gif" width="36" height="14" border="0"></a

for both.

totenmaske 10-28-2005 04:43 AM

< Clicks INSTALL >

This saved me a bunch of time figuring out where to add the image tags.

Does anyone know the if/then statements that would allow us to specify the RSS feed for a specific forum/thread when the member is in that forum/thread?

Also the buttons look very nice on the left side of the forum if you aren't using the languafe or skin chooser boxes ;)

MarkyLeonard 10-28-2005 05:36 PM

Quote:

Originally Posted by totenmaske
< Clicks INSTALL >
Does anyone know the if/then statements that would allow us to specify the RSS feed for a specific forum/thread when the member is in that forum/thread?

You could almost have a blogging system then, if you had a hidden forum set up!

totenmaske 10-29-2005 05:17 PM

Quote:

Originally Posted by MarkyLeonard
You could almost have a blogging system then, if you had a hidden forum set up!

Almost! - but vB needs these features like these if it's going to maintain it's edge as the best forum software out there!

donnacha 10-30-2005 09:12 PM

Here's a weird problem:

I have RSS enabled...

I have confirmed that the rss.gif is in the right image folder...

The change to the footer is showing up when I view the source...

BUT... when I load a forum, the RSS image simply doesn't appear.

In Firefox, while the page is loading, an empty image placeholder appears after the "Top" link and, if you click on it fast enough, that does bring you to the RSS version of the page but, once the page loads, the placeholder disappears and nothing replaces it, nothing is left to click - the page looks just as it did before although, as I've said, the source code shows the change.

In IE, the empty placeholder remains after the page has loaded and, again, you can click on that to go to the RSS version.

Any ideas about why the image isn't appearing? I have downloading the image itself back down from the server and it seems fine.

MarkyLeonard 10-30-2005 09:49 PM

Quote:

Originally Posted by donnacha
Here's a weird problem:

I have RSS enabled...

I have confirmed that the rss.gif is in the right image folder...

The change to the footer is showing up when I view the source...

BUT... when I load a forum, the RSS image simply doesn't appear.

In Firefox, while the page is loading, an empty image placeholder appears after the "Top" link and, if you click on it fast enough, that does bring you to the RSS version of the page but, once the page loads, the placeholder disappears and nothing replaces it, nothing is left to click - the page looks just as it did before although, as I've said, the source code shows the change.

In IE, the empty placeholder remains after the page has loaded and, again, you can click on that to go to the RSS version.

Any ideas about why the image isn't appearing? I have downloading the image itself back down from the server and it seems fine.


If you've got Adblock installed on your Firefox it could be the problem - it got rid of my New Thread button because it had "ad" in it!

donnacha 10-30-2005 10:42 PM

Quote:

Originally Posted by MarkyLeonard
If you've got Adblock installed on your Firefox it could be the problem - it got rid of my New Thread button because it had "ad" in it!

Interesting. In this case, though, Adblock hasn't been installed in Firefox and IE, obviously, has no such defenses.

I thought it might be some sort of Norton problem but I disabled the firewall and it made no difference.

Is anyone else having the same problem?

Thanks for replying and thanks for providing this.

MarkyLeonard 11-01-2005 10:04 PM

More than welcome!

Try hotlinking from www.imageshack.us (bottom link out of the lot)

Zia 02-13-2006 09:03 AM

Quote:

Originally Posted by MarkyLeonard
More than welcome!

Try hotlinking from www.imageshack.us (bottom link out of the lot)


hmm can u modify it...by adding(enable xml)

xml,my yahoo & my msn button
??

Zia 02-18-2006 08:55 AM

hello...looks for some modification

u added rss button....that linked with forum...

can u modifi it?


https://vborg.vbsupport.ru/

can u add this button too ? so user can add rss in there own blog unless they r not on the site..

thnx

TheBlackPoet 05-14-2006 05:10 PM

hey, i thought this was a very useful addition to my forum.. i appreciate it very much!!!!


All times are GMT. The time now is 04:44 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.01465 seconds
  • Memory Usage 1,792KB
  • 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
  • (4)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (30)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete