DragonPrime - LoGD Resource Community
Welcome Guest
  • Good afternoon, Guest.
    Please log in, or register.
  • May 18, 2013, 03:26:09 PM
Home Forums News Links Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
IRC Channels
Search

Pages: [1]   Go Down
  Print  
Author Topic: help with faq section  (Read 1400 times)
0 Members and 1 Guest are viewing this topic.
Megan|SaraBeth
Mod God
*****
Offline Offline

Posts: 823


View Profile WWW
« on: March 08, 2009, 06:24:17 AM »

i have this module:  http://dragonprime.net/index.php?module=Downloads;sa=dlview;id=321

i want to change the rules of it so as to be the ones i made.  everytime i try to change the rules i get a T_String error.  how do i change the rules as this is a rules module because i want the rules under faq not stand alone

also how do i get the whole faq section to pop up like the motd and not open in a new tabbed window?
« Last Edit: March 08, 2009, 07:03:29 AM by SaraDayBella » Logged

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination
Afkamm
Mod God
*****
Offline Offline

Posts: 1563

MarcTheSlayer


View Profile WWW
« Reply #1 on: March 08, 2009, 09:52:34 AM »

Sara, you're probably using quotes in your text, or deleted some of the PHP code making the rest unstable and so producing that error message.

I couldn't see a FAQ module that allowed you to add your own, so I went and wrote one for you. You can find it here. Smiley
Logged

Megan|SaraBeth
Mod God
*****
Offline Offline

Posts: 823


View Profile WWW
« Reply #2 on: March 08, 2009, 02:33:53 PM »

thank you Afk.  One last thing though.  how do i get the FAQ to open in a popup like the MoTD?  I don t like it opening in a new tab
Logged

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination
Afkamm
Mod God
*****
Offline Offline

Posts: 1563

MarcTheSlayer


View Profile WWW
« Reply #3 on: March 08, 2009, 03:50:56 PM »

I think you'll find that it is already a popup, but your browser is turning it into a full tabbed page. Smiley
Logged

Megan|SaraBeth
Mod God
*****
Offline Offline

Posts: 823


View Profile WWW
« Reply #4 on: March 08, 2009, 04:15:04 PM »

oh then how does the motd come out right but not the faq?
Logged

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination
Afkamm
Mod God
*****
Offline Offline

Posts: 1563

MarcTheSlayer


View Profile WWW
« Reply #5 on: March 08, 2009, 05:00:16 PM »

OK, try this.

Code:
#
#-----[ OPEN ]-----
#
village.php

#
#-----[ FIND ]-----
#
addnav("??F.A.Q. (newbies start here)", "petition.php?op=faq",false,true);

#
#-----[ REPLACE WITH ]-----
#
addnav("??F.A.Q. (newbies start here)", "petition.php?op=faq",false,true,'500x300');


Where '500x300' is the width and height size of the popup window.

Sorry, I thought the last being 'true' would make it the correct size of popup, but it just makes a new window full stop.
« Last Edit: March 08, 2009, 05:20:23 PM by Afkamm » Logged

Megan|SaraBeth
Mod God
*****
Offline Offline

Posts: 823


View Profile WWW
« Reply #6 on: March 09, 2009, 12:08:56 AM »

you are a miracle worker.  thank you much.
Logged

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination
Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Welcome to DragonPrime - The LoGD Resource Community!

Support Us
$100 raised this year
Your help is greatly appreciated!
Who's Online
18 Guests, 1 User
Adept
DragonPrime LoGD
Recent Topics
Home Forums News Links Downloads Login Register Advanced Search