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. Â Â Â Hopefully I can make a variation of the theme like CoD, so there is a choice to pick. We will see.
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.
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.
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.
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.
There is a function built into Evo xtreme that will show that. Here is an example:
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.
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 7:35 am; edited 2 times in total
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
Note: @EmeraldDragon, I did post this function name to you in a private message on the Xtreme main site
— Lonestar wroteThanks you coRpSE, I have just come onto your site to post that message lol.
LOL, no problem.
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 '?>'
@Lonestar, no worries. Not sure if I missed it or something, I do not see it anywhere.
Hmmm, getting syntax error, unexpected '?>'
— EmeraldDragon wroteThanks, 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.
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:
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>
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>