Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
I had done this for 6.5.x and it was essentially a standalone. ie: just upload and poof, done.

This one is much more integrated, in that it ties into the "My Stuff" menu.

It also takes advantage of the Smarty stuff to allow me to totally remove an rssGenerator class I had to code.

Essentially, clicking on the My Stuff menu, shows an additional option:

[Linked Image]

Clicking on that option will query the DB and return a list of feeds that the user can subscribe to like so:

[Linked Image]
Full size

Note: feel free to change the error message and general description stuff.

All the rss icons are feed uri's and can be added to your feedreader of choice. since they are generated per the user's read-rights, there won't be any wrong uri (per se).

But in the event that a user starts playing with the link, they'll get the following error message (configure as you wish in - language file)

[Linked Image]

I've included the general links as well:

1. PM inbox messages
2. Active topics
3. Active posts

Works outta the box for both 7.1 and 7.2 and fits with the standard structure: scripts, templates, language.

Enjoy!

ps: i added 3 < div id="xxx" > around the major chunks of the html side of the template, so you css'ers can go crazy with some fancy smanchy stuff. for those who don't know or care about it, the divs will be transparent anyway wink
Attachments
2429-Readme.txt (1.87 KB, 47 downloads)
w00t
SHA1: 367c79b16be9055c5f20555237ebfc7225358bc1
2430-sirdude.my.feeds.zip (194.23 KB, 54 downloads)
All files
SHA1: e32704eb17bf8cef0541da471c8fe4b6da59d7b2

Sponsored Links
Joined: Oct 2006
Posts: 21
Newbie
Newbie
Offline
Joined: Oct 2006
Posts: 21
Nice.

Joined: May 1999
Posts: 3,039
Guru
Guru
Offline
Joined: May 1999
Posts: 3,039
Very nice. I may just have to get this into the stock code for 7.3 wink


UBB.threads Developer
Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
thanks Rick. i'll polish off the wish list then and also combine some copy/pasted code/template stuff.

the last push i made to get it done left a couple of chunks of semi-duplicated code.

should be done by tonite.


Joined: Feb 2002
Posts: 2,286
Veteran
Veteran
Joined: Feb 2002
Posts: 2,286
well hurry up then wink

Seriously - many thanks smile


Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)
Sponsored Links
Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
Originally Posted by Ian_W
well hurry up then wink


[Linked Image]

will hop right on it then wink

[Linked Image]

Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
Updated readme.txt and .zip file. Bug in header.tpl and in generic.php

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
I do rather like this for the record smile


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
ok, i cleaned up the code. drastically reducing it's size, including the bloated template too.

only thing remaining is to get the PM inbox to work and i'd call it a wrap.

i'll upload tomorrow.

Joined: Feb 2002
Posts: 2,286
Veteran
Veteran
Joined: Feb 2002
Posts: 2,286
well done smile Thanks


Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)
Sponsored Links
Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
hrm.. feeds work fine, but i'd really like to add a tweak for those forums that are essentially available to guests as 'read'

i'm going to add that in..

ok, got that.

now just working on making the feed be valid according to w3c. now it is

[Linked Image]

Last edited by sirdude; 06/23/2007 4:09 PM. Reason: w3c + anon users
Joined: Nov 2003
Posts: 329
Beta Tester
Beta Tester
Offline
Joined: Nov 2003
Posts: 329
Excellent work

Hat comes off and thanks you too wink

Rick Hurry up and put it in b3 not 7.3 wink lol


BOOM 7.6.+ rocks....
Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
All done, PMs in and w3c checked.

Enjoy!

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Awesome... Validation = key smile


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
hehe, yah, the last validation quirk was that the smilies were relative Urls and not FULL urls. I didn't know w3c would be that picky..

oh well wink

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
It wanted full URLs? that's stupid... I have 5 domains for my site, and all have to work independantly; not to mention have to support SSL; so that's 10 domains that would have to work independant... so if a user was blocking (well, if their isp was) my main url, they can usually get in via my ssl, but if it was hardcoded all urls then i'd be sol lol...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
giz, that's not the issue.

the url is relative in the description, but when shown and you'd right click on it, you get full url.

it's just that the w3c validator wanted it to be full in the description to start with.

smileys as they are now are relative anyway. %%GRAEMLIN..%% is replaced by a relative URL (style array path) for display. you'd have uber-probs, if that didn't work.

no biggie wink

just add '$config[FULL_URL]' and poof done.

i ran into this same issue, when i was coding up the 'Email Thread' mod. All smileys puked (at first) in the received Html Email frown

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
:snicker: I set $config['FULL_URL'] to $_server['HTTP_HOST'] and replaced "http" with my ssl monitor wink


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
m'kay.. whatever fluffs your flannel, i guess

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
by setting it to http host it reads the domain it's being accessed as; so you can set it to allow posts from any domain (as some portions will set you as the domain set in the forums); and the ssl stuff is a nessessity to bypass some more-stupid site filters


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
dude, you completed missed my point (or we are just off on some tangent not related) of why it's recommended for full urls in description or in an email and why w3c flagged it.

example: for smileys, the non-full url is '/images/graemlins/default/smile.gif'

that works well and good, if that url is on the site itself, but blows up in an email where it's NOT being read from the site itself.

example (i copied raw html from my initial post in this topic where i have the wink smiley):

Code
ps: i added 3 < div id="xxx"  > around the major chunks of the 
html side of the template, so you css'ers can go
crazy with some fancy smanchy stuff. for those
who don't know or care about it, the divs will
be transparent anyway
<img src="/forums/images/graemlins/default/wink.gif"
alt=";\)" title="wink" height="15" width="15">

assume i email that to myself and then try to read it ... dead smiley link wink

what you end up in an email is broken links for every smiley and where i didn't notice it in the feed was ok. and the feed will be ok with relative urls, but still not a w3c recommended practice. emails are prime example, where it just plain blows up.

so bottom line is w3c makes sense and the fix was a minor one to be in compliance.

no need for redir or whatever hokus pokus to fix this problem. i just needed to do it right in the first place and thank god for feed validators as well as the other ones.

regardless. back to topic..

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
true, that would be a dead link if emailed to someone like that...

But i like my hucus pocus frown


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
fixed a couple more bugs and added some more features. i will update the readme and add some screenies. now 7.2 compatible and soon to be 7.3 ready.

essentially, it's more integrated into ubbt and has even more functionality..

all in keeping with the 'drop in' philosophy...

film @ 11


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)