Search found 74 matches

by tomythius
Sat Jun 25, 2005 12:04 pm
Forum: 2.0.x Discussion
Topic: Make Poverty History
Replies: 5
Views: 628

This is more reliable:

Code: Select all

<div align="left">
  <script type="text/javascript" src="http://www.makepovertyhistory.org/whiteband_small_right.js"> </script>
</div>
:D
by tomythius
Wed Jun 22, 2005 5:59 pm
Forum: [2.0.x] MODs in Development
Topic: [RC1] RSS bbCode
Replies: 54
Views: 8342

SpittingKitty wrote: I actually just took the RSS button off the posting_body and everything is fine.

Cool, hope it's all good for you now.
by tomythius
Wed Jun 22, 2005 6:31 am
Forum: [2.0.x] MODs in Development
Topic: [RC1] RSS bbCode
Replies: 54
Views: 8342

Do you have a demo account I can use, or should I register?
by tomythius
Tue Jun 21, 2005 3:18 pm
Forum: [2.0.x] MODs in Development
Topic: [RC1] RSS bbCode
Replies: 54
Views: 8342

I have two things going on that are problematic.... 1. My bbc buttons no longer work for some reason 2. The RSS feeds aren't updating on the board. It will show the most current post when the feed is created using the rss bbcode, but if the LJ is updated, it isn't updating the feed. Any ideas? Do y...
by tomythius
Sun Jun 19, 2005 10:33 am
Forum: [2.0.x] MOD Database Cleanup
Topic: [2.0.15] View User Agent
Replies: 30
Views: 11037

skuld the great wrote: Thats cool!

Is there anything like this for showing it stamped on each post?

I guess you could apply a similar modification to posting.php, making it insert the user agent of the poster into the posts table like it does with IP addresses, then making it display a clickable icon.
by tomythius
Sun Jun 19, 2005 10:25 am
Forum: [2.0.x] MOD Database Cleanup
Topic: [2.0.15] View User Agent
Replies: 30
Views: 11037

It is interesting and useful.Indeed. Could we maybe get a alternative link where your newest version is released (1.0.4) because it seems that they are some bugs fixed? Thanks Here y'go: http://tom.whaletattoo.com/useragent_v1.0.4.mod It's not been validated officially, but there are only two minor...
by tomythius
Fri Jun 17, 2005 9:28 pm
Forum: [2.0.x] MOD Database Cleanup
Topic: [2.0.6] RSS Content Syndicator
Replies: 799
Views: 389966

NightriderXP wrote: If this suggestion was for me, it didn't work.

Sorry, was for Keva.
:?
Guess I should've made that clear...
by tomythius
Fri Jun 17, 2005 8:47 pm
Forum: [2.0.x] MOD Database Cleanup
Topic: [2.0.6] RSS Content Syndicator
Replies: 799
Views: 389966

Just add this:

Code: Select all

<link rel="alternate" type="application/rss+xml" title="RSS feed" href="{url}">
to your overall_header.tpl in the head section.
Replace {url} with the url of your feed.
by tomythius
Fri Jun 17, 2005 8:43 pm
Forum: [2.0.x] MOD Database Cleanup
Topic: [2.0.15] View User Agent
Replies: 30
Views: 11037

in my sessions.php file the code is $sql = "UPDATE " . SESSIONS_TABLE . " SET session_time = $current_time, session_page = $thispage_id$update_admin I don't see this in my source, and it looks badly formed. Have you already modded sessions.php? which means the new code will look like that $sql = "U...
by tomythius
Fri Jun 17, 2005 1:06 pm
Forum: [2.0.x] MOD Database Cleanup
Topic: [2.0.15] View User Agent
Replies: 30
Views: 11037

Security

Markus has alerted me to the possibility that users could incorporate html into their user agent string. To correct this line 225 of the mod file: "USER_AGENT" => $guest_agent, should be changed to: "USER_AGENT" => htmlspecialchars($guest_agent), and line 209 of the mod file: "USER_AGENT" => $reg_ag...
by tomythius
Fri Jun 17, 2005 12:22 pm
Forum: [2.0.x] MOD Database Cleanup
Topic: [2.0.15] View User Agent
Replies: 30
Views: 11037

Screenshot

Screenshot:
Image
Note the extra column in the who is online table, this displays what is being used to view the pages in that session.
Works for guests too, useful for tracking googlebot and RSS grabbers.
by tomythius
Fri Jun 17, 2005 12:06 pm
Forum: [2.0.x] MOD Database Cleanup
Topic: [2.0.15] View User Agent
Replies: 30
Views: 11037

Wow

Thanks guys.
:D
by tomythius
Wed Jun 15, 2005 4:47 pm
Forum: [2.0.x] MODs in Development
Topic: [RC1] RSS bbCode
Replies: 54
Views: 8342

Yeah, this is the thread to post in.
The very first post in this thread has a link to the most recent version available.
I watch this thread and I think Lucas does too :P
Have fun.
by tomythius
Wed Jun 15, 2005 4:16 pm
Forum: [2.0.x] MODs in Development
Topic: [RC1] RSS bbCode
Replies: 54
Views: 8342

OK. I've been pulling my hair out on this one. That line should read: $text = preg_replace("#\[rss\]((http|ftp|https|ftps)://)([^ \"\n\r\t<]*?(\.)[^ \"\n\r\t<]*?)\[/rss\]#sie", "'[rss:$uid]\\1' . str_replace(' ', '%20', '\\3') . '[/rss:$uid]'", $text); This has been tested on my forum and works well...
by tomythius
Wed Jun 15, 2005 3:50 pm
Forum: [2.0.x] MODs in Development
Topic: [RC1] RSS bbCode
Replies: 54
Views: 8342

This should be (in) one line: $text = preg_replace("#\[rss\]((http|ftp|https|ftps)://)([^ \?&=\#\"\n\r\t<]*?(\.(xml|php|rdf|rss|rss1|rss2|asp)))\[/rss\]#sie", "'[rss:$uid]\\1' . str_replace(' ', '%20', '\\3') . '[/rss:$uid]'", $text); Yep, he's got it. The line looks like it's been split in two, li...

Go to advanced search