Not Solved Getting Userdata with MyCode
#1
Not Solved
Hello! I'm trying to do something with mycode, but it wont work.
And I have no clue how to to this and I can't explain the whole situation right now.

Is something like this possible?

"[divy]TextToHide[/divx]" --> "<div>TextToHide+POSTERSUSERNAME</div>"

Can I get access to the Userinfo in some way? Also the ones I created by my self?
Reply
#2
Not Solved
Using standard MyCode, you will not be able to add an information to the post that is not included in the MyCode itself.

If you want to access user info in your regexp replacement then you would need to use a plugin.
[retired]
Reply
#3
Not Solved
try to use {$post['username']} (i guess if i am not mistaken) to show the poster username.
[Image: cafaf18ba2.gif]
FileSquid is under development
[Image: trk1]
Reply
#4
Not Solved
(2017-12-29, 02:36 PM)Wildcard Wrote: Using standard MyCode, you will not be able to add an information to the post that is not included in the MyCode itself.

If you want to access user info in your regexp replacement then you would need to use a plugin.

Okay. I'm not rly into MyBB.. and I wont make a Plugin. I simply need to add some extra variables to the loop(foreach / while or other) , but i cant find it. 

Is it forumdisplay? I can't find any msqli connect there
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)