DragonPrime - LoGD Resource Community
Welcome Guest
  • Good evening, Guest.
    Please log in, or register.
  • May 18, 2013, 05:00:15 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: File discussion: Players Forum by Rayn  (Read 510 times)
0 Members and 1 Guest are viewing this topic.
RaynDarren
Mod God
*****
Online Online

Posts: 638


View Profile WWW
« on: September 21, 2012, 11:41:11 PM »

This is the discussion thread for my version of the Players Forum.

File: Players forum
Catagory: administrative
Compatability: tested and working on 1.1.1.
Version: 1.0
Author: RaynDarren modified from Superuser Forum by Lonny Luberts. Modified by Danilo Stern-Sapad, rewritten by MarcTheSlayer. Additions by Aeolus

I originally saw MarcTheSlayers rewritten code of this and loved it so much I decided to modify it for player use. Aeolus found a bug, so updated the version. I used Aeolus's code to make my modifications.

My modifications include:
V1.0
- removing su checks to accomidate players only
- villagenav added
- link in grotto under *Check Often* header added
- mythical forum link moved to gatenav

V1.1 will include:
- return to thread link at posting reply page
- admin settable help section

I hope to have V1.1 released by 10/05/2012.

Thanks and enjoy!
« Last Edit: September 27, 2012, 05:11:15 PM by RaynDarren » Logged

Visit me at my new home!
Eclypse ~ Xpert
Militia
**
Offline Offline

Posts: 75


View Profile
« Reply #1 on: September 22, 2012, 04:05:50 PM »

Good module!

I recommend adding this:

On line 407 replace:
Code:
$title = addslashes(htmlentities($title));

With:
Code:
$title = htmlspecialchars_decode($title);
Logged

Senior Administrator, Coder, and Head of Staff

tynastera.com
isleofdarkness.com
RaynDarren
Mod God
*****
Online Online

Posts: 638


View Profile WWW
« Reply #2 on: September 22, 2012, 04:06:54 PM »

Just out of curiosity, why make the change?
Logged

Visit me at my new home!
Eclypse ~ Xpert
Militia
**
Offline Offline

Posts: 75


View Profile
« Reply #3 on: September 22, 2012, 07:57:08 PM »

Oh, right. xD

It will stop the & entity from showing up. For some reason, the code you replace doesn't work, so I used a different version of it (the second piece of code) and it worked.
Logged

Senior Administrator, Coder, and Head of Staff

tynastera.com
isleofdarkness.com
RaynDarren
Mod God
*****
Online Online

Posts: 638


View Profile WWW
« Reply #4 on: September 22, 2012, 07:59:17 PM »

Alrighty, will make that change to the next version. Thanks!
Logged

Visit me at my new home!
RaynDarren
Mod God
*****
Online Online

Posts: 638


View Profile WWW
« Reply #5 on: September 23, 2012, 12:13:40 PM »

Major bug fix!

Version number is still the same.
- Player forum is now accessable by non-staff players from the village.
Logged

Visit me at my new home!
Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Version 1.1.2 is the current supported version and is available for download.

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