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.
Not a member yet? Click here to register.
Forgot Password?

User Fields Manager

Asked Modified Viewed 2,204 times
F
FreedomIOPList
F
My Sites
Freedom IOP List
http://www.freedomioplist.com


Heaven's Handmades
http://www.heavenshandmades.com


PHP-Fusion Projects Portal
http://www.phpfusionprojectportal.tk


Addiction Help By Addicts
http://www.addictionhelpbyaddicts.com

  • Member, joined since
  • Contributed 94 posts on the community forums.
  • Started 30 threads in the forums
  • Started this discussions
asked
Member

I searched and searched for this Infusion created by PopUpMan for me a long time ago. What it does is create Categories and Userfilds for you so you don't have to do it manually. It Infused fine, allowed me to create a Userfield Category fine and let me create a Userfield fine but it won't let me Enable the Userfield. Can someone please look at this Infusion and fix it, please? This Infusion saves tons of time. The Infusion is attached.
FreedomIOPList attached the following file:
user_fields_manager_1.zip [No information available / 224 Downloads]
0 replies

2 posts

D
douwe_yntema
D
  • Senior Member, joined since
  • Contributed 667 posts on the community forums.
  • Started 57 threads in the forums
  • Answered 1 question
answered
Senior Member

I tested the userfieldsmanager and for me it worked 100% (tested uder PF7.02.07)
0 replies
— 3 months later —
H
Harlekin
H
  • Member, joined since
  • Contributed 57 posts on the community forums.
  • Started 11 threads in the forums
answered
Member

There are some problems with the infusion:
1. there will be no create a locale.php for the fields. I solved it by that way:
open infusions/user_fields_manager/admin_panel.php

search:
$handle = fopen(INCLUDES."user_fields/".$new_field_dbname."_include_var.php", "w+");
      fwrite($handle,$new_field_include_var);
      fclose($handle)


and take this code behind this code in a new line:
$handle = fopen(LOCALE.LOCALESET."user_fields/".$new_field_dbname.".php", "w+");
      $new_contend = "<?php\r\n\r\n";
      $new_contend .= "?>";
      fwrite($handle,$new_contend);
      fclose($handle);


search:
unlink(INCLUDES."user_fields/".stripinput($_GET['delete_field'])."_include.php");


and take this code behind this code in a new line:
if (file_exists(LOCALE.LOCALESET."user_fields/".stripinput($_GET['delete_field']).".php")) {
         unlink(LOCALE.LOCALESET."user_fields/".stripinput($_GET['delete_field']).".php");
      }


2. if you use the english locale, all is fine. But if you use another locale there is a problem by create the files. I solved it by that way:
open infusions/user_fields_manager/admin_panel.php

search:
if ($_POST['input'] == "Add") {


replace with:
if ($_POST['input'] == "".$locale['B1']."") {
0 replies

Category Forum

Addons Open Testing

Labels

None yet

Statistics

  • Views 0 views
  • Posts 2 posts
  • Votes 0 votes
  • Topic users 3 members

3 participants

H
H
  • Member, joined since
  • Contributed 57 posts on the community forums.
  • Started 11 threads in the forums
D
D
  • Senior Member, joined since
  • Contributed 667 posts on the community forums.
  • Started 57 threads in the forums
  • Answered 1 question
F
F
My Sites
Freedom IOP List
http://www.freedomioplist.com


Heaven's Handmades
http://www.heavenshandmades.com


PHP-Fusion Projects Portal
http://www.phpfusionprojectportal.tk


Addiction Help By Addicts
http://www.addictionhelpbyaddicts.com

  • Member, joined since
  • Contributed 94 posts on the community forums.
  • Started 30 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet