Customizing SMF > Now Available
[Tip&trick] Vb postbit
ormuz:
--- Quote from: babjusi on August 25, 2008, 02:43:41 PM ---
--- Quote from: ormuz on August 25, 2008, 02:38:45 PM ---How to add this trick to custom profile mod?
--- End quote ---
I am not sure that I understood you. What is is exactly that you mean or want to accomplish by doing that? Because this has nothing to do with the custom profile mod.
--- End quote ---
Costum profile mod add the ability to add costum fields to the postbit on the display.template.php
I just want to add this trick (the memdetails div) to the field that I have in my postbit
this is the code from the mod in the display template, how to add this trick to the mod?
--- Code: --- global $sourcedir, $messagevars;
$messagevars = $message;
require_once($sourcedir . '/CustomProfile.php');
DisplayFieldPosts();
--- End code ---
babjusi:
--- Quote from: ormuz on August 25, 2008, 02:58:54 PM ---
--- Quote from: babjusi on August 25, 2008, 02:43:41 PM ---
--- Quote from: ormuz on August 25, 2008, 02:38:45 PM ---How to add this trick to custom profile mod?
--- End quote ---
I am not sure that I understood you. What is is exactly that you mean or want to accomplish by doing that? Because this has nothing to do with the custom profile mod.
--- End quote ---
Costum profile mod add the ability to add costum fields to the postbit on the display.template.php
I just want to add this trick (the memdetails div) to the field that I have in my postbit
this is the code from the mod in the display template, how to add this trick to the mod?
--- Code: --- global $sourcedir, $messagevars;
$messagevars = $message;
require_once($sourcedir . '/CustomProfile.php');
DisplayFieldPosts();
--- End code ---
--- End quote ---
I don''t think you can add this through the custom profile mod.
Eliana Tamerin:
You could if you arranged the styling in CustomProfile.php.
ormuz:
--- Quote from: Eliana Tamerin on August 26, 2008, 09:31:59 AM ---You could if you arranged the styling in CustomProfile.php.
--- End quote ---
I ask that in the mod support topic, but a smf moderator remove my doubt there...
ccbtimewiz:
Try out this:
--- Code: ---echo '<div class="memdetails">', DisplayFieldPosts(), '</div>';
--- End code ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version