[RC1] Random Quotes 1.7.2

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
User avatar
TimJBart
Registered User
Posts: 279
Joined: Mon Jan 28, 2002 8:24 pm

Post by TimJBart » Sat Oct 28, 2006 4:19 pm

Do you have a download link for this mod, it is broken!

Thanks

User avatar
dfritter4
Registered User
Posts: 479
Joined: Wed Jul 20, 2005 6:39 pm
Location: Ohio
Contact:

Post by dfritter4 » Sat Oct 28, 2006 10:47 pm

ive updated the download link in the original post

User avatar
TimJBart
Registered User
Posts: 279
Joined: Mon Jan 28, 2002 8:24 pm

Post by TimJBart » Sun Oct 29, 2006 3:38 pm

ok it installed fine and works great. I have been using your mod for quite a while. I used to use the version that required a separate .txt file which contained the quotes.

It is a great mod now, but I have one minor niggle. Why have you chosen the syntax:

"quote" | "quote"

It took me quite a while to convert all my quotes into this format. Would it not have been easier to use:

"quote"
"quote"

Other than that, great work! The admin panel is very useful 8)

EDIT - when I post and am on the confirmation page, the quote displays

Code: Select all

 <> <> <<>
Is this deliberate? Is there a way that I can get nothing to appear on the confirmation page?

User avatar
dfritter4
Registered User
Posts: 479
Joined: Wed Jul 20, 2005 6:39 pm
Location: Ohio
Contact:

Post by dfritter4 » Sun Oct 29, 2006 7:29 pm

ah thats right, i havent uploaded the latest version to my server.

let me upload the file and then try re-downloading it. in the newer version, i have fixed the "<><><>" thing

and i chose "quote" | "quote" because i thought that "|" would be a good separator between quotes.

i suppose in a newer version i could just have the user define their own separator, it wouldnt be hard to do.

try downloading the MOD again tomorrow

User avatar
TimJBart
Registered User
Posts: 279
Joined: Mon Jan 28, 2002 8:24 pm

Post by TimJBart » Sun Oct 29, 2006 7:49 pm

ok thanks...but now I have the mod installed, will it be hard to upgrade to this new version?

I'd rather just edit the bits that have changed to fix the <><><>

What do I need to add (or remove) from the original code

User avatar
dfritter4
Registered User
Posts: 479
Joined: Wed Jul 20, 2005 6:39 pm
Location: Ohio
Contact:

Post by dfritter4 » Sun Oct 29, 2006 10:08 pm

all you have to do is:

Code: Select all

#
#-----[ OPEN ]---------------------------
#

includes/page_header.php

#
#-----[ FIND ]----------------------------
#
exec_rndm_quotes();

#
#-----[ BEFORE, ADD ]--------------------------
#
$quotes_bold = 'b';
$quotes_underline = 'u';
$quotes_italic = 'i'; 

#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------
#
# EoM
also im working on the new feature but it wont be ready for a while.

User avatar
TimJBart
Registered User
Posts: 279
Joined: Mon Jan 28, 2002 8:24 pm

Post by TimJBart » Mon Oct 30, 2006 7:59 pm

thanks that worked a treat!

ooooh a new feature. what could that be? I am intrigued!

marengo007
Registered User
Posts: 3
Joined: Thu Nov 02, 2006 10:03 am

Post by marengo007 » Thu Nov 02, 2006 10:05 am

link doesn't work :(

User avatar
dfritter4
Registered User
Posts: 479
Joined: Wed Jul 20, 2005 6:39 pm
Location: Ohio
Contact:

Post by dfritter4 » Thu Nov 02, 2006 10:55 pm

sorry, should work now

marengo007
Registered User
Posts: 3
Joined: Thu Nov 02, 2006 10:03 am

Post by marengo007 » Thu Nov 02, 2006 11:20 pm

Many thanks :) I will install that tomorrow

User avatar
TimJBart
Registered User
Posts: 279
Joined: Mon Jan 28, 2002 8:24 pm

Post by TimJBart » Fri Nov 03, 2006 10:07 am

marengo007 wrote: Many thanks :) I will install that tomorrow


I have a huge load of quotes if you're interested?

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Post by RMcGirr83 » Fri Nov 03, 2006 2:21 pm

How about making it available for users to post quotes (word censor, user_id, bbcode, smilies pass, etc.).

rydaz
Registered User
Posts: 15
Joined: Tue Jul 29, 2003 3:53 am

Post by rydaz » Sat Nov 04, 2006 6:13 pm

I'm having trouble with the install.. I did the SQL and file edits, however it doesnt work.. is there a missing step in the install?
## Files To Edit:
## common.php
## admin/admin_board.php
## includes/page_header.php
## includes/constants.php
## language/lang_english/lang_admin.php
## templates/subSilver/admin/board_config_body.tpl
## templates/subSilver/overall_header.tpl


:arrow: There's no instructions on what to edit in templates/subSilver/admin/board_config_body.tpl. can anyone help?

rydaz
Registered User
Posts: 15
Joined: Tue Jul 29, 2003 3:53 am

Post by rydaz » Sun Nov 05, 2006 8:29 pm

Can anyone provide support with the post above?

Is it possible to have the random quote appear only on certain page (portal)?

User avatar
dfritter4
Registered User
Posts: 479
Joined: Wed Jul 20, 2005 6:39 pm
Location: Ohio
Contact:

Post by dfritter4 » Mon Nov 06, 2006 3:22 am

sorry, i think that line was just thrown in there when i had originally planned to set it up using the general admin config page.

i suppose i just didnt remove it when i decided to change methods, although that wont have any effect on the MOD itself.

as long as you install the MOD the way the rest of the instructions tell you to, it will work fine.

what is not working?

it works for me and everyone else.

you could make the quotes appear on certain pages by just removing the code from the overal_header.tpl and changing it to the tpl files of the pages you want the quotes on.

Post Reply

Return to “[2.0.x] MODs in Development”