DragonPrime - LoGD Resource Community
Welcome Guest
  • Good evening, Guest.
    Please log in, or register.
  • August 21, 2018, 12:54:11 AM
Home Forums News Downloads Login Register Advanced Search
* *
DragonPrime Menu
Login
 
 
Resource Pages
Search

  Show Posts
Pages: [1] 2 3 ... 69
1  Modules, Themes and other customizations for your game / Completed Modules for version 1.x.x / Re: File Discussion: Match Birthdays on: July 03, 2018, 05:01:21 PM
This module doesnt work with the additional bioinfos module. There is a dob pref there and it doesnt work with this as the month, day, and year is all under one pref called dob.
2  Game Administration, Installation and Configuration / The Idea Place / Switch Accounts on: June 18, 2018, 09:41:48 AM
It was brought to me as a suggestion by a player. I think they have a great idea. It would be cool if it could be a module and you could log onto one account from another without having to log off. You simply click switch account (maybe enter some info) and it goes. Kind of like how it is on Facebook.
3  Coding Support / Coding Support Desk / Re: Tabs on MOTD Header To Turn Red When New MOTD on: May 26, 2018, 07:17:58 PM
Its been changed to that as well.
4  Coding Support / Coding Support Desk / Re: Tabs on MOTD Header To Turn Red When New MOTD on: May 26, 2018, 03:40:16 PM
After looking at the code and taking into account what y'all said, We have found that my db prefix was missing and there was a spelling error. It has been fixed now. Thank you for the guidance.
5  Coding Support / Coding Support Desk / Re: Tabs on MOTD Header To Turn Red When New MOTD on: May 24, 2018, 08:15:57 PM
Contests and polls are set to true with this in their respective spots in the lib/motd.php

db_query("UDPATE accounts SET needtoviewcontest=1");

Seenupdates is not set to false and I wouldnt know where to set it.  Im thinking the first $session without ['user'] needs it. Im lost really as how to fix this.
6  Coding Support / Coding Support Desk / Re: Tabs on MOTD Header To Turn Red When New MOTD on: May 22, 2018, 01:17:01 PM
If you saw the code you would see in each case that this code is there.

$session['user']['needtoviewcontest']=false;

The only one its not there for is the changelog. The changelog case has this.

$session['user']['seenupdates'] = TRUE;

As for the latter, the only user account thing in changelog is for pulling the poster's name just like in the lib file all the user things are for who the poster is. With the polls this is the only user account thing.

$session['user']['lastmotd']=$row['motddate'];
7  Coding Support / Coding Support Desk / Re: Tabs on MOTD Header To Turn Red When New MOTD on: May 22, 2018, 04:35:23 AM
So how would I set the variables to fix this? I tried other things to fix it like copying how the pageparts did it for the main MoTD link on the page header and changing the link appropriately and that didnt work. I also tried adding global $session and that didnt work.
8  Coding Support / Coding Support Desk / Re: Tabs on MOTD Header To Turn Red When New MOTD on: May 20, 2018, 12:56:27 PM
To better answer all questions I have attached both the main folder motd file and the lib folder one. Please point me to where we went wrong.
9  Coding Support / Coding Support Desk / Tabs on MOTD Header To Turn Red When New MOTD on: May 19, 2018, 11:53:12 PM
I want each of the tabs other than the MOTD one, which I have called Kinks, to turn red when there is a new one. I tried to get help and it just didnt work and the person swears it will work this way and its not. I have tested it multiple times. I'll put the code below and someone can tell me where we messed up. Thanks!

Code:
$a=translate_inline("Kinks");
$b=translate_inline("Contests & Events");
$c=translate_inline("Polls");

if ($session['needtoviewcontest'] == 1)
$highlight_contests = "<a href='motd.php?op=contest' style='color:red'>$b</a>";
else
$highlight_contests = "<a href='motd.php?op=contest'>`r$b</a>";

if ($session['user']['needtoviewpolls'] == 1)
$highlight_polls = "<a href='motd.php?op=poll' style='color:red'>$c</a>";
else
$highlight_polls = "<a href='motd.php?op=poll'>`L$c</a>";

if ($session['user']['needtoviewchangelog'] == 1)
$changelog = "<a href='motd.php?op=changelog' style='color:red'>Server Updates/Enhancements</a>";
else
$changelog = "<a href='motd.php?op=changelog'>`4Server Updates/Enhancements</a>";

output("<center><big><a href='motd.php'>`5$a</a> | $highlight_contests | $highlight_polls | $changelog</big></center><br>",true);
10  Modules, Themes and other customizations for your game / Completed Modules for version 1.x.x / Re: reCAPTCHA anti-spam for petition.php on: April 04, 2018, 10:02:42 AM
After much time trying to figure out exactly what to do and coming up stumped each time, I went and emailed Dan. He took time to update it for everyone and since he cant access his account to post it he asked me to do so.
11  Modules, Themes and other customizations for your game / Completed Modules for version 1.x.x / Re: reCAPTCHA anti-spam for petition.php on: April 01, 2018, 03:42:07 PM
Nope. When I placed it exactly how you said all it did was post the you are a bot part at the top of the page. No widget or error.
12  Modules, Themes and other customizations for your game / Completed Modules for version 1.x.x / Re: reCAPTCHA anti-spam for petition.php on: April 01, 2018, 11:37:00 AM
I really think its better to just edit the module that is here because you cant put a div code in that file you told me to edit. I got an error and you need it in there to display the widget and also you need another code that would have to be applied to EVERY template if you didnt edit this mod. I think we just need someone to give pointers.
13  Modules, Themes and other customizations for your game / Completed Modules for version 1.x.x / Re: reCAPTCHA anti-spam for petition.php on: April 01, 2018, 10:10:20 AM
I have sat here and tried to figure out how to change the code properly to affect v2. Its all written for v1 and that link you gave me looks way different in code than v1 does. I wouldnt even know what to change and where so I dont break something. Points in the right direction would be nice. This stuff is confusing me.

So, is this another "tell me exactly what to copy and where to paste it" thing?

I wouldnt have posted here at all if I figured it out or could figure it out. I only post when Im stuck. Instead of being difficult, help would be nice. Im going to try what TGTarheel said and see.
14  Modules, Themes and other customizations for your game / Completed Modules for version 1.x.x / Re: reCAPTCHA anti-spam for petition.php on: March 29, 2018, 05:58:57 PM
I have sat here and tried to figure out how to change the code properly to affect v2. Its all written for v1 and that link you gave me looks way different in code than v1 does. I wouldnt even know what to change and where so I dont break something. Points in the right direction would be nice. This stuff is confusing me.
15  Modules, Themes and other customizations for your game / Completed Modules for version 1.x.x / Re: reCAPTCHA anti-spam for petition.php on: February 15, 2018, 01:49:11 PM
This module needs updating for recaptcha v2. V1 is being discontinued.
Pages: [1] 2 3 ... 69

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

Support Us
No funds raised yet this year
Your help is greatly appreciated!
Recent Topics
DragonPrime LoGD
Who's Online
30 Guests, 0 Users
Home Forums News Downloads Login Register Advanced Search