My new Page Block Keys module. Suggestions.

I will be releasing a new module shortly that will allow keys similar to the keys used in the templates in HTML blocks on a page.

Keys like this  <bx_text:_language_key /> for inserting a language key is available for use in a template, but not a html block.

In my mod the key looks like this [bx_text:_language_key /]. Slightly different becuse the tiny_mce editor strips the other out.

Anyhow. I have a bunch of keys available and am looking for suggestions on what other information should be made available for easy insertion into a html block via a key. That is suggestions within reason. Commonly used information.

Here is a current list.

  Key Description
[bx_text:_language_key /] _language_key will be translated using language file(function _t()) and inserted.
[bx_url_root /] The value of $GLOBALS['site']['url'] variable will be inserted.
[bx_url_admin /] The value of $GLOBALS['site']['url_admin'] variable will be inserted.
[bx_member_id /] The logged in members ID will be inserted.
[bx_nickname:ID /] The nickname of the member ID will be inserted.
[bx_profile_link:ID /] The link to member profile for member ID will be inserted.
[bx_member_icon /] The members 32x32px icon will be inserted. Border, status icon and popup included.
[bx_member_thumbnail /] The members 64x64px thumbnail will be inserted. Border, status icon and popup included.
[bx_member_avatar_small /] The members 32x32px avatar will be inserted. Image only.
[bx_member_avatar_medium /] The members 64x64px avatar will be inserted. Image only.
[bx_first_name /] The logged in members first name will be inserted.
[bx_last_name /] The logged in members last name will be inserted.
[bx_email /] The logged in members email address will be inserted.
[bx_sex /] The logged in members sex will be inserted.
[bx_looking_for /] The logged in members profile looking for data will be inserted.
[bx_headline /] The logged in members profile headline will be inserted.
[bx_description_me /] The logged in members profile description will be inserted.
[bx_country /] The logged in members country will be inserted.
[bx_city /] The logged in members city will be inserted.
[bx_date_of_birth /] The logged in members date of birth will be inserted.
[bx_date_reg /] The logged in members date registered will be inserted.
[bx_date_last_edit /] The logged in members date their profile was last edited will be inserted.
[bx_date_last_login /] The logged in members date of last login will be inserted.
[bx_tags /] The logged in members profile tags will be inserted.
[bx_user_status_message /] The logged in members status message will be inserted.
[bx_height /] The logged in members height will be inserted.
[bx_weight /] The logged in members weight will be inserted.
[bx_income /] The logged in members income will be inserted.
[bx_occupation /] The logged in members occupation will be inserted.
[bx_religion /] The logged in members religion will be inserted.
[bx_education /] The logged in members education will be inserted.
[bx_relationship_status /] The logged in members relationship status will be inserted.
[bx_hobbies /] The logged in members hobbies will be inserted.
[bx_interests /] The logged in members interests will be inserted.
[bx_ethnicity /] The logged in members ethnicity will be inserted.
[bx_favorite_sites /] The logged in members favorite_sites will be inserted.
[bx_favorite_music /] The logged in members favorite_music will be inserted.
[bx_favorite_films /] The logged in members favorite_films will be inserted.
[bx_favorite_books /] The logged in members favorite_books will be inserted.
[bx_date /] The date will be inserted.
[bx_ip_address /] The visitors IP address will be inserted.



I plan on having a demo page up soon to show the results. Some tests are already being done on the home page of my site, but those are just development tests. A better page will be done soon.

Post your thoughs on useful common information.


https://www.deanbassett.com
Quote · 23 Apr 2012

very nice work deano. really nice. I have a suggestion. Many people have custom profile fields in their site so you can make a special key like [bx_profile:CustomField /] and it will get the value of the field with its name "CustomField". Its just a suggestion. I appreciate your work....:)

so much to do....
Quote · 23 Apr 2012

Just seen this so will have a think... what I can tell you is that you have a definate customer. This looks like a great idea. : )

Quote · 23 Apr 2012

i think keys are just as niche as every environment launched, but that is a nice list.

 

you can really only have so much data about any one given profile then you just start duplicating what you just posted. 

 

i know of one or so:

linkedIn Account

Twitter account

pinterest account

tumblr account

facebook

google+

might not be what you are asking, but there you go.

 

mobile device

carrier

bluetooth

 

just interested in metrics on mobile and where its moving to?

When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support
Quote · 23 Apr 2012

Mod has been released.

Support forum here. http://www.boonex.com/forums/topic/Page-Block-Keys-Support-Forum.htm

Product here. http://www.boonex.com/m/page-block-keys

I added a couple more keys as well as the suggestion Prashank25 provided. That should also cover DosDawgs suggestions as well if those are in the profile table they can be pulled with the custom field key.

https://www.deanbassett.com
Quote · 27 Apr 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.