List of shortcodes

Where may I find a list of shortcodes (don't know if right term but wordpress calls that) that pulls info from database? 

 

For example, <RealName> pulls members' real name from database. 

Guynuked -- Dedicated server and Dolphin-friendly hosting with Zarconia.net
Quote · 25 Jan 2014

Theres no shortcode here. You gotta code most of the time. It would be better if you tell us what exactly you want to do so we can help better.

so much to do....
Quote · 25 Jan 2014

My bad, shortcodes in email templates like:

<RealName>

<profileNickName>

<profileContactInfo>.... 

Guynuked -- Dedicated server and Dolphin-friendly hosting with Zarconia.net
Quote · 25 Jan 2014

The only way to get them all, is to parse all email templates and get everything enclosed in <brackets>, then filter it with something like htmlspecialchars() function, but not sure it will work this way.

Personally I think it's Boonex' really not good idea to make special variables like this in html style. Had some problems with my module that supposed to parse html email templates. It would be much better to use [any] ^kind^ #of# {brackets} %styles%, instead of <html> brackets. It makes it almost impossible to separate them from the real html code. 

http://boonexpert.com
Quote · 26 Jan 2014

using the tellfriend.php as an example, you will notice around line 165 the following code:

 

    $aPlus = array(
        'Link' => $Link,
        'FromName' => $sSenderName
    );

 

These are the variables that are used in the email template:

 

<bx_include_auto:_email_header.html />


<p>I thought you'd be interested: <a href="<Link>"><Link></a><br />
</p>

<bx_include_auto:_email_footer.html />

 

So, you would need to find the page that generates the code and this is dependent on which email you are referring to. On that page you should be able to search for 'xxxxx' and find the variable. If you need to add variables you can look at the existing code and most likely figure it out.

 

If you would be so kind as to give more info on exactly what email you want to mess around with, then it will be easier to give more definitive answers.

caredesign.net
Quote · 26 Jan 2014

Thanks. No definitive list to use as cheat code but that's ok, I can use all of your tips above to pinpoint to it. 

Guynuked -- Dedicated server and Dolphin-friendly hosting with Zarconia.net
Quote · 26 Jan 2014

Deano has a module similar to this you might be interested in looking over.

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

Geeks, making the world a better place
Quote · 26 Jan 2014

 

Deano has a module similar to this you might be interested in looking over.

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

 That's really cool module by the way, just had a look at it. Seems like you can add any variables to your template in order to customize them.

http://boonexpert.com
Quote · 26 Jan 2014

Nice! Definitely on my list when I'm ready to further customize my site. 

Guynuked -- Dedicated server and Dolphin-friendly hosting with Zarconia.net
Quote · 26 Jan 2014

I'm going to use invitation only feature during beta testing stage with actual invited members to test things out. 

 

When I or members use invite a friend link to invite someone, the member fills out his/her email address as well as friend's email address. An email is sent. The inviter's email address is not included because I've overridden it (in SMTP mailer module) to lessen the chance of it ending up in SPAM. Inviter's Name also not included. Therefore, that person invited have no clue who send the invitation. 

 

I attempted to circumvent this by adding this in email template: <a href="<Domain>profile.php?ID=<reporterID>"><reporterNick></a> Nope, only used for reporting violation or spam. 

<RealName> Nope. 

<profileNickName>, <profileContactInfo> Nope.

<Recipient>, <SenderLink> Nope. 

 <ProfileReference> Nope. 

 

Which shortcode would work with displaying inviter's Name and email address that was filled in the invite friend? Please advise. 

Guynuked -- Dedicated server and Dolphin-friendly hosting with Zarconia.net
Quote · 26 Jan 2014

First off, if I am understanding you correctly, the code I posted earlier is the starting point. Make that section like so:

    $aPlus = array(
        'Link' => $Link,
        'FromName' => $sSenderName,
        'FromEmail' => $sSenderEmail
    );

then, the <FromName> should give you the senders name and <FromEmail> should give you the email. Dont forget to clear your cache.

caredesign.net
Quote · 26 Jan 2014

Ah, I'm beginning to understand a little of how codes work with that example. So it gives me a better understanding of where to look for the "shortcode".... thanks for that.  

Guynuked -- Dedicated server and Dolphin-friendly hosting with Zarconia.net
Quote · 26 Jan 2014
 
 
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.