Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.

Content Administration - 8

5,876 posts | Last Activity on 31-05-2019 04:11 by songiuno
songiuno
songiuno 31-05-2019 04:11, 4 months ago
Re: Exapnding the date range choice in Blog I believe I got it, thanks!
Falk
Falk 29-05-2019 17:46, 4 months ago
Re: Exapnding the date range choice in Blog A quick sample,

Code
// for ($i = (isset($blog_start['year']) && $blog_start['year'] != "----" ? $blog_start['year'] : date('Y')); $i <= date("Y", strtotime('+10 years')); $i++)
// echo "$i\n";
    echo "\n";
      echo "\n";



If you still don´t get the hang of it. Use phpMyAdmin and enter values of dates manually directly on the blog date entries.
This converter tool will help you get the epoch values https://www.epochconverter.com/
songiuno
songiuno 29-05-2019 06:53, 4 months ago
Re: Exapnding the date range choice in Blog To programmers this will be a dumb question but I know nothing about programming in PHP.

Do I change ($blog_start['year']) in every instance on that line to the year I want the year choice to start?
Falk
Falk 29-05-2019 05:49, 4 months ago
Re: Exapnding the date range choice in Blog You find it in administration/blog.php line 393,
Code
for ($i = (isset($blog_start['year']) && $blog_start['year'] != "----" ? $blog_start['year'] : date('Y')); $i <= date("Y", strtotime('+10 years')); $i++)


You can fiddle with that or just hard code the option.
songiuno
songiuno 27-05-2019 19:51, 4 months ago
Re: Exapnding the date range choice in Blog I am wanting to consolidate blog/journal data form various other sources (offline journal, a Wordpress blog, etc.) into the v8.00.21 blog now that I have one consolidated place to have all located. In doing so, I'd have to add entries into my PHP-Fusion v8.00.21 blog with original dates. The only choices for years in the "from" date dropdown starts with current year.

Is there a setting or other way to expand the year choices in the "from" date, particularly, to say 1975 or the standard 1/1/1970?
Falk
Falk 17-05-2019 21:46, 4 months ago
Re: Forums not visible for guests Yes, I think we need to change that indeed.
Kamillo
Kamillo 17-05-2019 16:20, 4 months ago
Re: Forums not visible for guests It was not so obvious, I guess. I expected this setting during create forum process.
Thank you.
Falk
Falk 17-05-2019 12:03, 4 months ago
Re: Forums not visible for guests Edit button on added forum opens this. Not categories. ( Content Administration > Forums )
Kamillo
Kamillo 17-05-2019 09:40, 4 months ago
Re: Forums not visible for guests Maybe a stupid question, but cannot find a setting for forums visibility. I can see forums only after login.
Falk
Re: I have notices in Administration after a New Upgrade from 7.02.07 to 8.00.21 in a subdomain I see now. It is a custom comment system with comment type NX,
Since the Theme is customized to a standard system you need to add it to this list ( Also in includes/functions.php ).

Change
Code
 $comments_type = [
 'N' => $locale['269'],
 'D' => $locale['268'],
 'P' => $locale['272'],
 'A' => $locale['270'],
 'B' => $locale['269b'],
 'C' => $locale['272a'],
 'PH' => $locale['261'],
 ];


To
Code
 $comments_type = [
 'N' => $locale['269'],
 'D' => $locale['268'],
 'P' => $locale['272'],
 'A' => $locale['270'],
 'B' => $locale['269b'],
 'C' => $locale['272a'],
 'PH' => $locale['261'],
 'NX' => "Your Comment System Name",
 ];



We sure need a fail safe fallback so it does not throw notices. Just Unknown.
afoster
Re: I have notices in Administration after a New Upgrade from 7.02.07 to 8.00.21 in a subdomain Just realized that the following error comes from themes/admin_themes/Venus/includes/function.php but can't figure out what is generating it.

includes/functions.php
Undefined index: NX Line: 280
Falk
Re: I have notices in Administration after a New Upgrade from 7.02.07 to 8.00.21 in a subdomain It looks like a Infusion, include/core.php / & includes/functions.php is nothing native.
NX is either a undefined variable or a missing locale ( varible as well )....
The other is repeating DB Definitions.
afoster
Re: I have notices in Administration after a New Upgrade from 7.02.07 to 8.00.21 in a subdomain Backed up my database and all the files and then proceeded to follow the instructions to upgrade. Seems to have gone well and after fixing some errors in the error log, this error message popped up and I can't seem to find the functions.php file in my includes folder. Where else should I look for it and what does the error message mean?

Error Date Status
includes/functions.php
Undefined index: NX Line: 280

Update: After going back into the admin module, the error log now shows the following error messages:

includes/functions.php
Undefined index: NX Line: 280 April 26 2019 06:33:21
include/core.php
Constant DB_USERS already defined Line: 23 April 26 2019 06:28:40
include/core.php
Constant DB_MESSAGES already defined Line: 24 April 26 2019 06:28:40
db_handlers/pdo_functions_include.php
Blaineseis
Blaineseis 30-09-2018 16:57, 12 months ago
Re: How to change header https://ibb.co/jpF4oe All U need is header_bg.jpg change the resolution to 1256x145 and then change a picture. Uploud and that's it. If U don't see the result:
In Chrome
On your computer, open Chrome.
At the top right, click More More.
Click More tools and then Clear browsing data.
At the top, choose a time range. To delete everything, select All time.
Next to "Cookies and other site data" and "Cached images and files," check the boxes.
Click Clear data.
douwe_yntema
douwe_yntema 18-03-2018 13:07, 1 year ago
Re: Add User Panel information to Theme Header You will never forget thatsmile
S
superchiefchief 18-03-2018 11:34, 1 year ago
Re: Add User Panel information to Theme Header It works in a panel, but I don't want it in a panel I want to be in the header so it's included on every page. Is there somewhere else I could put the code that isn't in the theme.php file?

Merged on Mar 18 2018 at 11:41:44:
Oh wow, I feel dumb.

Just had to

Code
global $userdata;



at the beginning of the function. Doh'
douwe_yntema
douwe_yntema 18-03-2018 11:18, 1 year ago
Re: Add User Panel information to Theme Header The maincore is already included otherwise there would be no iMEMBER constant.

I tested if i add a statement echo $userdata['user_name']; it displays my logon name.
Can you put the statement in an panel or something for testing?
S
superchiefchief 18-03-2018 10:37, 1 year ago
Re: Add User Panel information to Theme Header Yes I'm logged in, the following if statement recognises that the user is logged in...

Code
if (iMEMBER) {



but the string

Code
$userdata['user_name']



is empty.

Do you know how to include maincore from the theme.php file??
FreedomIOPList
FreedomIOPList 16-03-2018 17:37, 2 years ago
Re: TinyMCE Scrollbars Issue I am having a problem I've never had with TinyMCE before. It's allowing the content to overflow and create scrollbars and even on saved pages, there's scrollbars. Any ideas on this one? I've attached screenshot.
douwe_yntema
douwe_yntema 15-03-2018 19:51, 2 years ago
Re: Add User Panel information to Theme Header Are you logged in? Else the userdata is empty.
You can view all discussion threads in this forum.
You can start a new discussion thread in this forum.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.