phpfox mods list, phpfox mods

  • Автор темы dantess
  • Дата начала
[1.6+] phpFox Approve New Members Plug-in

:: Steps to Install ::

Download the plug-in then extract it and then upload all the folders to your root directory of your phpFox site.

:: Where and How to Approve New Members ::

You approve new members in your Admin Panel, in the left panel at the bottom there will be a button called APPROVE USERS, right under the subtitle PLUG-INS.



Then simply check the checkbox and click "Approve" or "Delete"



:: How it looks for the pending users ::

Once the new user has signed up and you have yet approved him/her, then they will receive this message when they try to login:
 

Вложения

  • approve_new_members.zip
    10,9 KB · Просмотры: 15
Member Info Map - display the location of the user with Google Maps

Member Info Map - display the location of the user with Google Maps


First step:
Go to the 'Plugins & Products' section in your AdminCP.
Click on 'Manage Products' and import the *.xml file I attached.


Second step:
Part 1:
Go to the 'User Profile Fields' section in your AdminCP.
Add a new User Profile Field -> Single-Line Text Box

* Enter a title and a description.
* Edit the following settings:
* Field Searchable on Members List -> no
* Show on Members List -> no

Click 'save'.
Note the ID/name of that profile field (field5, field100 or whatever)


Part 2:
Add a new User Profile Field -> Single-Selection Radio Button

* Enter a title and a description.
* Edit the following settings:
* Options -> yes (next line) no
* Field Searchable on Members List -> no
* Show on Members List -> no

Click 'save'.
Note the ID/name of that profile field (field6, field100 or whatever)



Third step:
Apply for a Google Maps API-Key: Для просмотра ссылки Войди или Зарегистрируйся

Put the attached file 'jquery-1.2.1.min.js' into the folder /clientscript/



Fourth step:
Go to the 'vBulletin Options' section in your AdminCP.
Select the settings 'User Listing & Profile Viewing'.
Copy and Paste the API-Key from step three to the input field (Member Info Map API-Key).
Copy and Paste the name/ID of the first profile field you created to the input field (Member Info Map Data Field)
My profile field for the location is called 'field5' so I put 'field5' into that input field.

Copy and Paste the name/ID of the second profile field you created to the input field (Member Info Map Enabled Field)
My profile field that defines wether the user enabled or disabled his map is called 'field6' so I put 'field6' into that input field.


Fifth step:
Enable it via the Member Info Map ENABLED-setting

Now, encourage your users to edit their profile and add a location.


Version 1.1:
Fixes a stupid bug.
To update, either import the attached *.xml again or change the plugin manually.

Manual update:
Edit the plugin 'Member Info Map - member.php'.
Set the Hook Location to 'member_execute_start'.

Replace the Plugin PHP Code with this code:
Code:
if(($userinfo[$vbulletin->options['memberinfo_map_fieldenabled']] == 'yes') AND ($vbulletin->options['memberinfo_map_enabled'])) {
$memberinfo_map_userlocation = $vbulletin->input->clean($userinfo[$vbulletin->options['memberinfo_map_fielddata']], 'TYPE_STR');
$memberinfo_map_apikey = $vbulletin->options['memberinfo_map_apikey'];
eval('$template_hook[memberinfo_additionalinfo] = "' . fetch_template('memberinfo_map') . '";');
eval('$headinclude .= "' . fetch_template('memberinfo_mapcode') . '";');
}
 

Вложения

  • google map.zip
    15,9 KB · Просмотры: 12
Event

Люди добрые. дайте мне пожалуйстя человеческий календарь с евентом
 
profilecompletion-1.02

Показывает прогресс заполнение анкеты (как в контакте)
 

Вложения

  • profilecompletion-1.02.rar
    16,9 KB · Просмотры: 11
а для 2.1.x версии есть что-нибудь?
 
У кого нибудь вообще завалялись хоть какое-то плагины для PHPFOX 1.6.21?
 
Назад
Сверху