Working on New Gamer Themes
Select messages from # through # Forum FAQ
[/[Print]\]
Goto page 1, 2  Next  :| |:
HeadShot Extreme -> General Talk

#1: No icon Working on New Gamer Themes Author: EmeraldDragonLocation: Vancouver, WA PostPosted: Tue May 24, 2022 7:30 am
    —
I am currently working on the idea of new gamer themes. Currently, I am going to do Last Oasis, WOT, and CRSED: F.O.A.D. If you guys and gals have any idea on what you want to see me put out. Post it here and I will see what I can do to make it happens.  besessen  big grin  cool Hopefully I can make a variation of the theme like CoD, so there is a choice to pick. We will see.

#2: No icon Re: Working on New Gamer Themes Author: Lonestar PostPosted: Tue May 24, 2022 9:06 am
    —
You could save yourself a lot of work in the future to combine these theme together, then simply adding a admin setting to change between the stylesheets.

The theme you made or more or less identical, except for the images and gradients you used. Just think it will save you some time in the future.

#3: No icon Re: Working on New Gamer Themes Author: EmeraldDragonLocation: Vancouver, WA PostPosted: Tue May 24, 2022 10:11 am
    —
That's true (more or less), similar to the toggle colors options I guess. I need to know how to add the admin setting like your suggestion.

But then, there are other options as well with the theme that are different in the theme. (IE: Carousel, etc...) I am looking into adding more features to the theme, but since I don't have much info on the structure notes (IE: backend codes for the tags for the theme [see attached as reference]) there is not much I can do as far as doing a good proper theme. I can't even call the function that calls the private message count (just like your theme) after the member had logged in, but it's neither here nor there.

#4: No icon Re: Working on New Gamer Themes Author: [HSX]coRpSELocation: Back of your mind!!! PostPosted: Tue May 24, 2022 8:32 pm
    —
There is a function built into Evo xtreme that will show that. Here is an example:

PHP:  [ Select all ]

echo '<a href=./modules.php?name=Private_Messages">Private Messages ('has_new_or_unread_private_messages() .')</a>'

 
If you want to know more functions that are built into Evo, you can take a look in the public_html/includes/ folder, and you will see functions_evo.php, functions_evo_custom.php, functions.php, ect..., and look in them for the different functions that are built in the system.
Last edited by coRpSE on Fri May 27, 2022 8:35 am; edited 2 times in total

#5: No icon Re: Working on New Gamer Themes Author: Lonestar PostPosted: Wed May 25, 2022 1:33 pm
    —
Thanks you coRpSE, I have just come onto your site to post that message lol.

Note: @EmeraldDragon, I did post this function name to you in a private message on the Xtreme main site

#6: No icon Re: Working on New Gamer Themes Author: [HSX]coRpSELocation: Back of your mind!!! PostPosted: Wed May 25, 2022 6:04 pm
    —
— Lonestar wrote
Thanks you coRpSE, I have just come onto your site to post that message lol.


LOL, no problem.

#7: No icon Re: Working on New Gamer Themes Author: EmeraldDragonLocation: Vancouver, WA PostPosted: Fri May 27, 2022 8:11 am
    —
Thanks, CoRpSE. for the code.

@Lonestar, no worries. Not sure if I  missed it or something, I do not see it anywhere.

Hmmm, getting syntax error, unexpected '?>'

#8: No icon Re: Working on New Gamer Themes Author: [HSX]coRpSELocation: Back of your mind!!! PostPosted: Fri May 27, 2022 8:37 am
    —
— EmeraldDragon wrote
Thanks, CoRpSE. for the code.

@Lonestar, no worries. Not sure if I  missed it or something, I do not see it anywhere.

Hmmm, getting syntax error, unexpected '?>'


What code editor are you using?
If you're using the code above, that was just am example of what to do. I did see a syntax error with that code and I fixed it, but, you should have see the error pop if what you are using has a syntax error for it. I know most would have started highlighting where the error begins, which was around the missing '; at the end of the code.

#9: No icon Re: Working on New Gamer Themes Author: EmeraldDragonLocation: Vancouver, WA PostPosted: Sun May 29, 2022 11:24 am
    —
I am using Visual Studio Code editor. I had to add <php> to the beginning and the end to make the code works. But it causing that error.

This is what my code looks like:

PHP:  [ Select all ]

<li class="nav-item"><?php echo '<a href=./modules.php?name=Private_Messages">Private Messages ('has_new_or_unread_private_messages() . ?>')</a></li> 

#10: No icon Re: Working on New Gamer Themes Author: Lonestar PostPosted: Sun May 29, 2022 1:52 pm
    —
You need to read up on coding a little more m8, watch some videos on YouTube, You had the echo in the wrong place. this is how it should go.

Code: [ Select all ]

<li class="nav-item"><a href=./modules.php?name=Private_Messages">Private Messages (<?php echo has_new_or_unread_private_messages(); ?>)</a></li> 



HeadShot Extreme -> General Talk


output generated using printer-friendly topic mod. All times are GMT - 7 Hours

Goto page 1, 2  Next  :| |:
Page 1 of 2