Template Example Code Disallowed

An Idea

From the Profile Template Code wiki (linked when you edit your profile template): >

Declare a variable

>
<?= $variable ?>
Gives the error:

Variable $variable at line X must comply with the syntax standard $_(a|i|s|b)[A-Z][a-zA-Z0-9]+...

When trying to create a variable and give it a value, we'e stopped due to "=" not having the correct syntax:

Invalid syntax '=' at line 26

And I could keep going... Either update the examples and the whitelist so we can actually use PHPs functionality, or remove the examples.

Ratings

Alex' avatar
Alex'
Rating icon loves this
5y
Tabajara 7.7 avatar
Tabajara 7.7
Rating icon likes this
6y
Rafael De Jongh avatar
Rafael De Jongh
Apocalyptic Flag
Affiliation
Apocalyptic
Rating icon likes this
6y
Ring-A-Ding Rampage avatar
Ring-A-Ding Rampage
Rating icon loves this
6y
  • Tabajara 7.7 avatar
    Tabajara 7.7 username pic Joined 9y ago
    ZPS Manager
    Out for working
    9,952 points Ranked 564th
    24 medals 4 rare
    • 6 years a member Medal icon
    • Returned 1000 times Medal icon
    • Achieved Game Manager clearance Medal icon
    • Submitted 20 Maps Medal icon
    • 1-5 Entries! GameBanana’s Christmas Giveaway 2014 Medal icon
    • Became a Studio Leader Medal icon
    Tabajara 7.7 avatar
    Tabajara 7.7
    Zombie Panic! Source Ambassador
    6y
    I don't understand so much of this area, but as some people said above, looks important.
    OBM and ZPS Developer
    URL to post:
  • Devieus avatar
    Devieus username pic Joined 9y ago
    Moderator
    ONLINE
    91,681 points Ranked 37th
    70 medals 6 legendary 13 rare
    • 1st Place - Tutorial Contest Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2015 Medal icon
    • Returned 5000 times Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
    • 2017 Top Contributor Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2017 Medal icon
    6y
    > **Posted by Ring-A-Ding Rampage** > Hmm.. I don't understand half of what birjola is saying but it does sound like something important. Thanks for the input there, it's probably for the custom modules later on.
    • Helpful x 1
    Sentinel of the TV remote avatar
    Mantra
    Sentinel of the TV remote
    URL to post:
  • Ring-A-Ding Rampage avatar
    Ring-A-Ding Rampage username pic Joined 8y ago
    Moderator
    PL : 0
    5,679 points Ranked 1117th
    75 medals 10 legendary 20 rare
    • Submitted 60 Sprites Medal icon
    • Thanked 500 submitters Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2015 Medal icon
    • Submitted 100 Skins Medal icon
    • Reached 100 subscribers Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
    Ring-A-Ding Rampage avatar
    Ring-A-Ding Rampage
    (づ。◕‿‿◕。)づ
    6y
    Hmm.. I don't understand half of what birjola is saying but it does sound like something important.
    Ode to Code avatar
    Mantra
    Ode to Code
    URL to post:

Embed

Сподели банер
URL на изображението
HTML код за вграждане
BB код за вграждане
Markdown код за вграждане

Summary

+6
6 in favor
0 against
  • Обича icon
    Обича
    50% (2/4)
  • Харесва icon
    Харесва
    50% (2/4)

Submitter

birjolaxew avatar
birjolaxew username pic Joined 8y ago
Offline
4,325 points Ranked 1505th
2 medals 1 legendary
  • 1st Place - Tutorial Contest Medal icon
  • Received thanks 5 times Medal icon
birjolaxew avatar
birjolaxew

Sign up to access this!
Sign up to access this!
Sign up to access this!

Details

Type
Complaint
Resolution
Неизвестно

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • Share on Google+
  • 633
  • 4
  • 6y
  • 6y

More from Submitter

New ads? Ya' serious?
New ads? Ya' serious?
+8
Votes
12 in favor
4 against
Не може да се вземе под внимание
Allow HTML5 tags
+10
Votes
10 in favor
0 against
Неизвестно
Allow Interaction-Based Javascript in Übers
+5
Votes
9 in favor
4 against
Неизвестно
Let Thanha and Shakira Work on GB
+16
Votes
16 in favor
0 against
Неизвестно
bcp.crwdcntrl.net tracking pixel