vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   BB Code Enhancements - Modification System (https://vborg.vbsupport.ru/showthread.php?t=203028)

macc 03-22-2009 11:38 AM

Quote:

Originally Posted by Coroner (Post 1774072)
It will work on 3.8.1.

@macc
See in the admincp. there's a link to create more versions

Thanks - found and fixed.
what about donations in usercp - could not see there ?

maked template addons - usercp_shell ... and it is enabled ..but comes not up!

regards

macc

ishare 03-22-2009 06:32 PM

I have installed this great mod on my forum. As same here on vb.org, its possible to click the "install" button and mark the thread with "Installed" prefix just before the thread title in threadbit.

But instead of using the "Installed" prefix, i would like to highlight the row if possible.
Something like, "if the thread is marked then highlight the row" command... And what i mean by "highlight" is same as on "inlinemod"....

Is that possible ?

Thanks in advance...

ishare 03-22-2009 06:37 PM

Is it possible to add a button (or same as here on vb.org) as Tag Modification / Untag Modification ? That would be much convenience for users to use the tagging function instead of editing the settins...

Regards

TheSupportForum 03-22-2009 07:27 PM

Coroner

i dont thinl you you understand, why does the mod version of the mod i add not show up for example if i wanted it to be 1.2.1 it would say unknown

the vbulletin version does show but not the mod version
please can i have support on this and someone with vbulletin 3.8.1 installed

Coroner 03-23-2009 01:22 PM

I understand.
I'm using vB 3.8.1 and it works for me.
When I set the MOD version to 9.86.6 PL1 it will show the MOD version

Habtopia 03-23-2009 01:57 PM

Im running the 3.7 version on my 3.8.1 forum, will this cause an issue?, works fine it seems.

ishare 03-25-2009 07:22 AM

Coroner i have a problem with user control panel listing option.

Even i have more than 30 mods installed, when i click the "Installed Mods" in User Control Panel, it only list max 10 titles.

Can you please help me about how i can solve this problem and list "all" the mods i've marked as "Installed" ?

Edit : The problem is it doesnt update the counters... I did everything but it still show the same number of "installed" threads even i mark the thread as installed.

Regards

Phantasmagoric 03-25-2009 02:44 PM

Hi Coroner, I'm trying to get the developer image bit worked out for myself but I'm a long way off it and wondered if you could lend a hand.


I'm using this as the code:
Code:

<if condition="$threadinfo['postuserid'] == $bbuserinfo['userid']"><div><img src="$stylevar[imgdir_misc]/moddev.gif" width="100" height="21" border="0" alt="" class="inlineimg" /></div></if>
I have tried placing it in the postbit here:
Code:

                $template_hook[postbit_signature_start]
                $ad_location[ad_showthread_firstpost_sig]
                <if condition="$threadinfo['postuserid'] == $bbuserinfo['userid']"><div><img src="$stylevar[imgdir_misc]/moddev.gif" width="100" height="21" border="0" alt="" class="inlineimg" /></div></if>
                <if condition="$post['signature']">
                <!-- sig -->
                        <div>
                                __________________<br />
                                $post[signature]
                        </div>
                <!-- / sig -->
                </if>

                $template_hook[postbit_signature_end]

The moddev.gif is not showing in the posts when I view threads I have started, but that is just the start of the problems. It dawned on me that I need also to check if the forum is using the mod system, otherwise all posts all over the forum will have Developer in the sig. Basically I've bitten off more than I can chew, if you get some time could you have a look at how this can be done please.







*********** EDIT **************

Gah, I thought I had it but the moddev.gif still wont show, this is the new code I am trying to use:
Code:

<if condition="in_array($thread['forumid'], array(28,29,32,10,39,43,41)) && $threadinfo['postuserid'] == $bbuserinfo['userid']">
    <div><img src="$stylevar[imgdir_misc]/moddev.gif" width="100" height="21" border="0" alt="" class="inlineimg" /></div>
</if>

But it's not working, can anyone tell me what I've got wrong please?

Phantasmagoric 03-26-2009 05:59 PM

Got the solution (thanks to Lynne for her help!) if anyone else wants it for their site as well.

Create a suitable image and call it (for example) moddev.gif, upload to your Skins misc folder (do this for all Skins installed!).

In the postbit template find (do this for all Skins installed!):

Code:

<if condition="$show['user_installed']"><div style="margin-top: 10px;background:url($stylevar[imgdir_misc]/bginstalled.gif) left no-repeat" align="right"></if>
After add (change the forumid array to match the forums you have used in the mod system settings!):
Code:

<if condition="in_array($thread['forumid'], array(28,29,32,10,39,43,41,51)) && $thread['postuserid'] == $post['userid']">
    <div align="left"><img src="$stylevar[imgdir_misc]/moddev.gif" width="100" height="21" border="0" alt="" /></div>
</if>


It's not a perfect solution as the developer image doesn't sit right at the bottom like the installed image does. The code for the installed image is wrong as the close div is missing, but if you close it the image doesn't show anymore. To avoid any further errors in the code I have coded it the way I have, I'm no coder so there is probably a better solution. If anyone knows of one then please share with us all.

macc 03-29-2009 08:29 AM

hello

can not get donation options in mu usercp - maked all changes - template, admincp and usergroups but no result. mods system works fine - only donations not -

some help ?

regards

macc


All times are GMT. The time now is 10:09 AM.

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.01281 seconds
  • Memory Usage 1,750KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete