![]() |
NOTE: I'm creating a new mode for Shelfari called "My Shelfari Bookshelf". I reserve this idea, so please don't steal my idea ;)
Having a hard time applying this for a new tab called "Shelfari" (shelfari.com) The template is: memberinfo_block_shelfari Code:
<div class="alt1 block_row"> Code:
$blocklist = array_merge($blocklist, array( I tried replacing chadi with $userinfo[field44] and it did not pull correctly. What is the actual proper replacement code to pull whatever content from the user's field44 profile field to replace my actual username? Can some also please explain how to properly create a plugin file for this, so I can share it as a mod? |
Quote:
|
Thanks, but the tab doesn't show up now.
Code:
$blocklist = array_merge($blocklist, array( |
Try assigning it to a variable and then use the variable in that line of code:
PHP Code:
|
Sorry, but I really don't know what you're telling me here. I'm not a coder :)
Can you give me a hint by pasting what the entire plugin code should look like? It'll be easier for me to dissect it carefully from there. --------------- Added [DATE]1240546636[/DATE] at [TIME]1240546636[/TIME] --------------- Ok, I tried this: Code:
$blocklist = array_merge($blocklist, array( The actual widget is giving an error stating that a username was not provided and must be provided. --------------- Added [DATE]1240547063[/DATE] at [TIME]1240547063[/TIME] --------------- Fixed. I had to had the = after UserName. Thanks Lynne. One quick question, I'd like to make an xml plugin file so people can install this as a product. Could I trouble you to explain how this can be done? |
Quote:
|
Yes, and gave you and Wired1 credit for the help.
Thank you Lynne, appreciate it. PS: would you like me to make you co-author of the mod? I'm honestly not sure how these things work on the forums. I've only started releasing mods a couple days ago. I'm not even a programmer. |
Quote:
|
Okay, I've installed this properly, and I need a somewhat specific request:
-- Search for all threads started by user, in forumID 12 and all child boards -- [USERNAME]'s Posted Content -- End Link -- Sorry, I really don't know a lot about using variables... |
If you want to know how to pull HTML from a template rather than writing the HTML in the plugin take a look at what I've wrote.
PHP Code:
|
All times are GMT. The time now is 08:36 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|