[MOD] Rules Mod 1.0.6 bèta

Misc MOD Downloads for phpBB3 -- Any MOD that does not fit into any other category
Forum rules
Image Please feel free to download any MOD's here, support for each MOD is located it's own thread.

To post your own MOD, please first read the MOD Guidelines

What do you think about my rules mod?

Great! Just what I needed!
21
88%
Good!
2
8%
Fair
1
4%
Poor
0
No votes
 
Total votes : 24

Re: [MOD] Rules Mod 1.0.5 bèta

Postby drazgo » 22 Jan 2008, 00:35

Added german translation of the rules mod thanks to smavy! :)
drazgo
Cadet III
Cadet III
 
Posts: 35
Joined: 11 Dec 2007, 11:03
Gender: Male




phpBB Academy at StarTrekGuide
Support STG
Using PayPal Donate

Re: [MOD] Rules Mod 1.0.5 bèta

Postby Ladysarajane » 22 Jan 2008, 12:46

Hmmm...is there any way for the Rules on the UCP to show up as a link ?
Image
Warning: Stay away from Deck 15 if you don't have security clearance level 6 or above! Unauthorized access is prohibited.
Image
User avatar
Ladysarajane
STG Moderator
STG Moderator
 
Posts: 1962
Joined: 21 Mar 2007, 23:35
Favorite Team: Bengals
Gender: Female
phpBB Knowledge: 5

Re: [MOD] Rules Mod 1.0.5 bèta

Postby drazgo » 22 Jan 2008, 14:21

i wish there was, but phpbb 3 doesn't support that. Have tried that as well :glare: Maybe i can find a way to do it, but i don't think so...
drazgo
Cadet III
Cadet III
 
Posts: 35
Joined: 11 Dec 2007, 11:03
Gender: Male

Re: [MOD] Rules Mod 1.0.5 bèta

Postby Ladysarajane » 22 Jan 2008, 14:25

I tried to get it show up as a link but I couldn't either. :scratch:
Hmm. I think I will have it show up as a link in the Guests ACP announcement panel and leave it as it is.
Warning: Stay away from Deck 15 if you don't have security clearance level 6 or above! Unauthorized access is prohibited.
Image
User avatar
Ladysarajane
STG Moderator
STG Moderator
 
Posts: 1962
Joined: 21 Mar 2007, 23:35
Favorite Team: Bengals
Gender: Female
phpBB Knowledge: 5

Re: [MOD] Rules Mod 1.0.5 bèta

Postby drazgo » 26 Jan 2008, 06:01

Found a way to do it!!

Version 1.0.6 is out!!

New stuff:
- Fixed the language variables Rotsblok (on phpbb.com) mentionned
- Made a clickable link via SQL query from the register page to the rules page!

Have fun!!
drazgo
Cadet III
Cadet III
 
Posts: 35
Joined: 11 Dec 2007, 11:03
Gender: Male

Re: [MOD] Rules Mod 1.0.6 bèta

Postby pawan » 26 Jan 2008, 11:23

Code: Select all
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3408: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3410: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3411: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3412: Cannot modify header information - headers already sent by (output started at /language/en/common.php:1)


i am getting this error when i edit the common.php file. Please help.
pawan    
Cadet II
Cadet II
 
Posts: 20
Joined: 15 Jan 2008, 05:25
Gender: Male

Re: [MOD] Rules Mod 1.0.6 bèta

Postby drazgo » 26 Jan 2008, 11:35

did you already edit the functions.php file or not?
drazgo
Cadet III
Cadet III
 
Posts: 35
Joined: 11 Dec 2007, 11:03
Gender: Male

Re: [MOD] Rules Mod 1.0.6 bèta

Postby Ladysarajane » 27 Jan 2008, 15:23

I will try out the new version this evening! :grin:
Warning: Stay away from Deck 15 if you don't have security clearance level 6 or above! Unauthorized access is prohibited.
Image
User avatar
Ladysarajane
STG Moderator
STG Moderator
 
Posts: 1962
Joined: 21 Mar 2007, 23:35
Favorite Team: Bengals
Gender: Female
phpBB Knowledge: 5

Re: [MOD] Rules Mod 1.0.6 bèta

Postby Ladysarajane » 27 Jan 2008, 21:12

Upgraded the version style on my test forum.

:scratch: In your Sql query, you should change it from

Code: Select all
INSERT INTO phpbb3_profile_lang (field_id, lang_id, lang_name, lang_explain, lang_default_value) VALUES (1, 1, 'Do you agree with our forum rules?', '<a href="http://YOURSITE.COM/YOURFORUMDIR/rules.php">Click to display them</a>', '');


To just plain

Code: Select all
INSERT INTO phpbb_profile_lang (field_id, lang_id, lang_name, lang_explain, lang_default_value) VALUES (1, 1, 'Do you agree with our forum rules?', '<a href="http://YOURSITE.COM/YOURFORUMDIR/rules.php">Click to display them</a>', '');


Other than trying to figure out which FIELD_ID VALUE I was suppose to use it wasn't that bad to install. If it is the only custom profile field, you can use the default but if you have several fields, that might be a problem if people don't know how to look it up.

The other problem is with "Click to display them". If you click that and you leave the registration page entirely. I solved that for the time being by changing that to "Right click and view Rules in a new window or Tab"

Is there a way to get the rules to automatically open in a new tab or window when clicked?
Warning: Stay away from Deck 15 if you don't have security clearance level 6 or above! Unauthorized access is prohibited.
Image
User avatar
Ladysarajane
STG Moderator
STG Moderator
 
Posts: 1962
Joined: 21 Mar 2007, 23:35
Favorite Team: Bengals
Gender: Female
phpBB Knowledge: 5

Re: [MOD] Rules Mod 1.0.6 bèta

Postby drazgo » 29 Jan 2008, 14:27

i know about the problem with the mysql query, but i just don't know a way to solve it yet. if anyone is having an idea to do so, please tell me! ;)

and about that new window, will have a look for it :hello:
drazgo
Cadet III
Cadet III
 
Posts: 35
Joined: 11 Dec 2007, 11:03
Gender: Male

PreviousNext

Return to Miscellaneous MODs, Hacks and Downloads

Who is online

Users browsing this forum: No registered users and 11 guests