DragonPrime - LoGD Resource Community
Welcome Guest
  • Good morning, Guest.
    Please log in, or register.
  • January 23, 2018, 03:57:07 AM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1] 2 3 ... 5   Go Down
  Print  
Author Topic: Random Quotes  (Read 14406 times)
0 Members and 1 Guest are viewing this topic.
CortalUX
Dwellings Project
Mod God
*****
Offline Offline

Posts: 796


Wogga! Meep!


View Profile WWW
« on: February 10, 2005, 01:58:07 PM »

Random Quotes:
  • This is a module that allows you to add random quotes to your site.
I've tested this extensively.
Inspired by this thread.

Link: http://dragonprime.net/users/CortalUX/quotes.zip
Logged
sixf00t4
Mod God
*****
Offline Offline

Posts: 1916



View Profile WWW
« Reply #1 on: February 11, 2005, 01:40:44 AM »

works fine when they appear on all pages, but the check marks will not stick if you only want it in one location.

also puts the \ infront of an apostrophe.
« Last Edit: February 11, 2005, 01:43:14 AM by sixf00t4 » Logged

CortalUX
Dwellings Project
Mod God
*****
Offline Offline

Posts: 796


Wogga! Meep!


View Profile WWW
« Reply #2 on: February 11, 2005, 01:49:36 AM »

Fixing now:)
Logged
CortalUX
Dwellings Project
Mod God
*****
Offline Offline

Posts: 796


Wogga! Meep!


View Profile WWW
« Reply #3 on: February 11, 2005, 01:51:24 AM »

Fixed bug with apostrophes, fixing locations now.
Logged
sixf00t4
Mod God
*****
Offline Offline

Posts: 1916



View Profile WWW
« Reply #4 on: February 11, 2005, 01:56:42 AM »

when Jim first brought up this idea, i was going to give it a try too, you beat me to it.  I had an idea for a button in the commentary or commentary editor, that you could add quotes from players right there.  just throwing it out there.
Logged

CortalUX
Dwellings Project
Mod God
*****
Offline Offline

Posts: 796


Wogga! Meep!


View Profile WWW
« Reply #5 on: February 11, 2005, 02:22:46 AM »

Fixed.
I'll try and add that now:)
Logged
Jim
Guest
« Reply #6 on: February 11, 2005, 02:33:52 AM »

when Jim first brought up this idea,

Hey don't blame me for this one it was Lurch's idea!  Grin
Logged
CortalUX
Dwellings Project
Mod God
*****
Offline Offline

Posts: 796


Wogga! Meep!


View Profile WWW
« Reply #7 on: February 11, 2005, 02:35:16 AM »

The only way I can see to do this, is to have a custom moderation area... or edit the core code.
I'm gonna make a custom moderation area, there isn't a good hook
Logged
sixf00t4
Mod God
*****
Offline Offline

Posts: 1916



View Profile WWW
« Reply #8 on: February 11, 2005, 02:43:28 AM »

works great.  incase you didnt catch it, you left "el.gif\">",$data); $data = s " at the end of the file Smiley
Logged

CortalUX
Dwellings Project
Mod God
*****
Offline Offline

Posts: 796


Wogga! Meep!


View Profile WWW
« Reply #9 on: February 11, 2005, 03:59:10 AM »

Ya, I noticed that:)
No one else reported it when I was checking, and then I was coding something so I didn't see- I thought I hadn't uploaded that version:)
Anyway, there's an area like the moderation thing that you can get to from the quotes editor, so you can basically add quotes straight from the commentary.
I am now adding a tool so you can delete quotes like you do with the moderation feature.
Logged
CortalUX
Dwellings Project
Mod God
*****
Offline Offline

Posts: 796


Wogga! Meep!


View Profile WWW
« Reply #10 on: February 11, 2005, 04:37:41 AM »

This now has an easier delete function... I also suspect a bug in the edit function, so I'm checking that out.
Logged
sixf00t4
Mod God
*****
Offline Offline

Posts: 1916



View Profile WWW
« Reply #11 on: February 11, 2005, 04:42:58 AM »

how about using the viewcommentary hook, like the emoticons...

$message = person's message;

random quotes ($message){
$quoted = $session['user']['name'];
$return message = " <a href="page to add quote.php?quoted=$quoted&message=$message>cool little button.jpg</a> $message"
}

if you understand that...
basically it adds an image at the beginning of every comment.  that image would send you to a pop up window to add it to the data base.


Logged

CortalUX
Dwellings Project
Mod God
*****
Offline Offline

Posts: 796


Wogga! Meep!


View Profile WWW
« Reply #12 on: February 11, 2005, 04:49:42 AM »

Cool idea, will do.
Updated, edit and delete function work.
Logged
CortalUX
Dwellings Project
Mod God
*****
Offline Offline

Posts: 796


Wogga! Meep!


View Profile WWW
« Reply #13 on: February 11, 2005, 05:06:29 AM »

Be right back, finish this later.
Logged
CortalUX
Dwellings Project
Mod God
*****
Offline Offline

Posts: 796


Wogga! Meep!


View Profile WWW
« Reply #14 on: February 11, 2005, 08:22:46 AM »

Finished.
Do you know how much trouble this took... why, oh why did I listen?  Shocked
I had to filter urls, and the 'new' image Shocked
Logged
Pages: [1] 2 3 ... 5   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Play LoGD on Dragonprime

Support Us
No funds raised yet this year
Your help is greatly appreciated!
Recent Topics
DragonPrime LoGD
Who's Online
24 Guests, 0 Users
Home Forums News Downloads Login Register Advanced Search