PDA

View Full Version : UserName Image


CPTA
08-01-2011, 05:58 AM
https://vborg.vbsupport.ru/external/2011/07/1.png


Some guy posted this code to do this

if ($this->post["fieldXX"] != "") {
$this->post["musername"] = "<img src=\"". $this->post["musername"] ."\">";
}

How would i get this to work on vb4?

kh99
08-01-2011, 02:46 PM
Try creating a plugin using hook location postbit_display_complete and the code you posted above.

To create a plugin, go to Plugins & Products -> Add New Plugin, select the hook location from the dropdown menu, add a title so you'll remember what it does, paste in the code, and select the "Yes" radio button to activate it.