Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

Reply
 
Thread Tools
AdminFuel - Thread Starter Details »»
AdminFuel - Thread Starter
Version: 1.1, by rockinaway rockinaway is offline
Developer Last Online: Sep 2013 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.8.4 Rating:
Released: 09-25-2009 Last Update: 09-25-2009 Installs: 24
Uses Plugins Template Edits
Additional Files  
No support by the author.

Thread Starter v1.1

Simple modification that adds an image next to the thread starter's username.

This is my first modification, as I am not too sure with the vBulletin code. Please give me your feedback as it is a simple modification but I am sure it can be improved. Sorry for any code issues

Image thanks to FamFamFam

Installtion:

- Upload image provided to images/misc
- Upload threadstarter.xml folder to install product
- APPLY THE FOLLOWING TEMPLATE EDIT
In the postbit template you are using (default is 'postbit') add $thread_starter_img at the location you wish the image to be displayed.

Example
In the postbit template find:
Code:
<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
After add:

Code:
$thread_starter_img

Demo and Support: http://www.adminfuel.com

Thanks
rockinaway

Download Now

File Type: zip thread_starter v1.1.zip (2.2 KB, 112 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 09-26-2009, 11:12 AM
Sador's Avatar
Sador Sador is offline
 
Join Date: Mar 2009
Posts: 181
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Congrats on your first mod.

Just tried to install this to be able to give you some feedback. It isn't too clear where you should add $thread_starter_img in the navbar template. Not everybody knows where they have to put the code to make it work, and if you put it at the wrong place, you'll get an annoying error when you want to view a topic.

Maybe you could add to your instructions where you have to place the code so the image will show up where you meant it to be?
Reply With Quote
  #3  
Old 09-26-2009, 11:58 AM
4nawadir.com's Avatar
4nawadir.com 4nawadir.com is offline
 
Join Date: May 2009
Location: Algeria
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice mod , thanks ...
Installed ...
Reply With Quote
  #4  
Old 09-26-2009, 12:03 PM
rockinaway rockinaway is offline
 
Join Date: Jun 2005
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the feedback. It's intended for the postbit, I have updated the instructions here for a guide as to where to add it
Reply With Quote
  #5  
Old 09-26-2009, 12:17 PM
Sador's Avatar
Sador Sador is offline
 
Join Date: Mar 2009
Posts: 181
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fatal error: Call to a member function query_first() on a non-object in forum/includes/class_postbit.php(265) : eval()'d code on line 3

This is the error I get when enabling your product and visit one of my forums. First I thought it was because of the wrong place for the code, but it disappears when I disable your product.

But thanks for adding the example.
Reply With Quote
  #6  
Old 09-26-2009, 12:20 PM
rockinaway rockinaway is offline
 
Join Date: Jun 2005
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you updated your vBulletin version? I was getting this error on my test board for some strange reason. As you can see, it works fine on the demo board.

Are there any other modifications you have installed?
Reply With Quote
  #7  
Old 09-26-2009, 12:25 PM
Sador's Avatar
Sador Sador is offline
 
Join Date: Mar 2009
Posts: 181
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rockinaway View Post
Have you updated your vBulletin version? I was getting this error on my test board for some strange reason. As you can see, it works fine on the demo board.

Are there any other modifications you have installed?
It's the most recent version of vBulletin.

Yep, I do, a few. I've disabled all of them now to check if something is conflicting. I can now see my the forums again, but upon clicking a thread or trying to make a thread, I get that error message again.
Reply With Quote
  #8  
Old 09-26-2009, 12:29 PM
rockinaway rockinaway is offline
 
Join Date: Jun 2005
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am slightly confused with this, since I don't have that much experience with vBulletin I can't give you a solution right away using vBulletin code. I can give you one that should work in normal PHP code.

I will have to look into this as to why it won't work on certain boards.
Reply With Quote
  #9  
Old 09-26-2009, 12:31 PM
Sador's Avatar
Sador Sador is offline
 
Join Date: Mar 2009
Posts: 181
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Don't worry about it, it's a testboard anyway. Hope you'll figure it out, it seems like a nice mod.
Reply With Quote
  #10  
Old 09-26-2009, 12:33 PM
rockinaway rockinaway is offline
 
Join Date: Jun 2005
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okays, I have posted a thread in the programming area for some help. I will post here as soon as I do get some information.

Thanks again

You can also go to my forum if you wish to get some other resources and help
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:51 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
  • Page Generation 0.04818 seconds
  • Memory Usage 2,312KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete