Quotes and Box Imag...
 
Notifications
Clear all

Quotes and Box Image Mod/ Request

5 Posts
3 Users
0 Reactions
1,558 Views
(@chris)
Posts: 77
Trusted Member
Topic starter
 

I am working on a plot generator to add to my site but I am using the template.php for that but I also wanted a random quote that could work in the profile page and wondered based on Box with images in Profile...

Question: Would this code be able to pull different files and just output the results depending on what you choose?

I am thinking of a random quote in the profile. If you see here I have a quote but I had typed this in the profile.tpl. I know this wouldn't work since in theory everybody would get the same quote until I change it manually again.  I am wondering if you choose from " LoveQuotes", "Sex Quotes", "Funny Quotes", "Random Quotes" and one select from the jumpmenu "love quotes". It would pull from separate (with quote list) files so wherever you place {quotes} in the profile.tpl would give you the love quote you asked for.

Sorry, if this isn't explained well.
I guess I am requesting since I wouldn't have a clue to start in the coding. :mrgreen:


I charge into the light and need only yours to find my way. Archive of One: Sam Emme Tales

 
Posted : 01/09/2007 5:43 pm
Jan_AQ
(@jan_aq)
Posts: 1300
Noble Member
 

Maybe Jacynthe's post here will help:

https://efiction.org/forums/index.php?topic=5524.0


Whoever said nothing is impossible never tried slamming a revolving door.

url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word

 
Posted : 02/09/2007 4:46 am
(@jacynthe)
Posts: 242
Estimable Member
 

Except... I'm not sure if QuoteME allows you to choose the source of your random quote. You may have lists for all those things and enter the quotes there, but I don't think it's possible to tell the script: "Well now that you have all those nifty quotes, I want you to pick only from that specific list and ignore all the others".


Jacynthe

Archives: http://fanfics.e-authors.net
Version: 3.5.3
Modified? Somewhat...
PHP:  5.3.3
MySQL: 5.0.91-community

 
Posted : 02/09/2007 12:57 pm
(@chris)
Posts: 77
Trusted Member
Topic starter
 

Yeah, it doesn't do what I want but I'm trying it anyway. One question where do you place the include in the profile.php. I am assuming since it needs php and not the profile.tpl but if you look here, you see the problem I put mine right before ?> since I didn't know where and didn't want to mess things up but on the profile info it comes up twice and in the wrong place.

How do I get the quote to show where I want?

TIA


I charge into the light and need only yours to find my way. Archive of One: Sam Emme Tales

 
Posted : 03/09/2007 9:54 am
(@jacynthe)
Posts: 242
Estimable Member
 

You put that in your tpl file where you want it to appear. Refer to the other thread where you asked how to call the script. πŸ™‚


Jacynthe

Archives: http://fanfics.e-authors.net
Version: 3.5.3
Modified? Somewhat...
PHP:  5.3.3
MySQL: 5.0.91-community

 
Posted : 03/09/2007 8:42 pm
Share: