1
trafficx
WANTED: Hack for global variables to display username & email within non-block content
  • 2005/5/23 8:17

  • trafficx

  • Just popping in

  • Posts: 5

  • Since: 2005/5/11


I'm looking for a hack that allows me to display the user's username and email address inside any kind of content that is not a XOOPS block (e.g. an article that is part of the "Sections" or "Articles" module). Basically... the user user viewing the article should see his own username and email address within the article!

In a XOOPS block, it's no problem by using php, but in Sections/Articles that doesn't work as php isn't interpreted there! What's needed is a hack that sets global variables such as {{UNAME}}, {{EMAIL}} that also work in articles!

Login

Who's Online

206 user(s) are online (104 user(s) are browsing Support Forums)


Members: 0


Guests: 206


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits