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

macc 03-31-2009 09:17 AM

that problem is fixed- thanks to coroner -

mod usercp icons caused problem ... unistalle this mod and get donation options in usercp!

thanks and regards

macc


have one small problem also - when will edit mod-post -and after saved - if there is some image in post - that destroy all codes in post ?
some help ?

macc

Idawg 03-31-2009 10:09 PM

I have a question...

I am the main admin on a fansite. Can I use this for uploaded pictures and stories?? And where would I change Mod of the month to Picture / Story of the month??

Phantasmagoric 04-10-2009 10:02 AM

Hi Coroner,
I have had the crawl-8.cuill.com bot trying to access the
Code:

Mod System - install Mod
by reading this file:
Code:

modsystem_miscactions.php
Do we need to keep that file on our server, seems like a potential security problem as a bot is trying to run the install via this file, and it's doing it numerous times every day.

How concerned should I be about this bots behaviour with that file?

Coroner 04-10-2009 11:16 AM

Code:

if (empty ($vbulletin->userinfo['userid']))
{
        print_no_permission ();
}

This code is inside this PHP - so, no BOT can do anything !?

ph03nIX 04-13-2009 11:48 PM

I am not sure if you plan on adding any more feature to this mod but if you do then I'd just like to throw a suggestion out there. An option to be able to add or remove stuff from the “Edit Modification Settings” page like “SQL” and “Plugin,” etc. An option to be able to add more or remove these would be great.

Either way, great mod. :up:

Pcwolfx? 04-19-2009 08:10 AM

whre install link in mods?

metalguy639 05-08-2009 05:48 PM

Love this mod, but please correct the spelling mistakes. :)

Licence should be License. Thanks

metalguy639 05-14-2009 02:53 AM

Is it possible to make this where when it asks for the mod version number that instead of a drop down this can be a blank field that members just fill in the version number? The forum I'm going to be running this on does all kinds of mods for all kinds of scripts not just vbulletin. Can you tell me what to change to get it to do this?

Thanks
Damien

metalguy639 05-15-2009 02:49 AM

Quote:

Originally Posted by metalguy639 (Post 1810456)
Is it possible to make this where when it asks for the mod version number that instead of a drop down this can be a blank field that members just fill in the version number? The forum I'm going to be running this on does all kinds of mods for all kinds of scripts not just vbulletin. Can you tell me what to change to get it to do this?

Thanks
Damien

Nevermind, I figured it out myself :D For those of you who might want to do this here's how:

1. Login to your admincp & scroll to "Styles & Templates" find "Style Management" and click on it. Find the skin you have this mod installed on and click on the drop down to get the "Edit Templates" options & choose it.
2. Expand the templates & scroll down to wehre you see the modsystem_post_settings template - double click on it to open.

FIND:

Code:

<fieldset class="fieldset">
      <legend>$vbphrase[modsystem_editmod_versions]</legend>
      <div style="padding:3px">
      $vbphrase[modsystem_editmod_version]:
      <select name="mod_vbversion">
        $version_options
      </select>
      </div>
    </fieldset>

Replace With:

Code:

<fieldset class="fieldset">
      <legend>Mod/Style Version</legend>
      <div style="padding:3px">
      Software Version: <input type="text" name="mod_vbversion" value="$thread[mod_vbversion]" class="bginput" />
      </div>
    </fieldset>

You can change the parts in red to be whatever you want them to be. Ultimately you can also change these in the phrases and not change the names from the phrases if you like. Its up to you. I just changed it in the code because it was here & easier to do right then.

If you were to keep the phrases in tact then the replacement code would look like this:


Code:

<fieldset class="fieldset">
      <legend>$vbphrase[modsystem_editmod_versions]</legend>
      <div style="padding:3px">
      $vbphrase[modsystem_editmod_version]: <input type="text" name="mod_vbversion" value="$thread[mod_vbversion]" class="bginput" />
      </div>
    </fieldset>

I tested it and it works just fine and renders the correct version number that I put into the post. :D

Silver Tiger 05-19-2009 02:22 AM

Can someone show me how to change the check box field? Like it says "supported" I want to change it to "Paypal"?

I want to actually change a few things, so if someone could help me out, I would be thankful.

Please help :(

puertoblack2003 06-12-2009 01:46 AM

anybody having issue with the MOTM ..The way it set up, when it run the cron it's always posting the month of December for each month and we at JUNE...lol :eek:

NitroMan 07-15-2009 01:55 AM

ok i am haveing trouble getting this part
help please
i do not know where to find the stylevars
to copy this to

Instruction Part 2 - Stylevars
You need some stylevars for this Modification. So copy the next Lines and place them in each Sytle.
.hackinfo,.navlist div a,.navlist div a:active,.navlist div a:link,.navlist div a:visited{
font:12px verdana,arial,helvetica,sans-serif;
border:1px solid #E1E4F2;
width:165px;
display:block;
padding:3px 3px 3px 7px;
background:#ffffff;
color:#000099;
text-decoration:none
}
.navlist div a:hover{
border-width:0px;
border-top:1px solid #e1e1e1;
border-bottom:1px solid #e1e1e1;
background:#E1E4F2;
color:#000000
}
.navlist div.account a{padding-left:20px;width:165px;text-transform:lowercase}

EidolonAH 07-15-2009 04:09 PM

Quote:

Originally Posted by NitroMan (Post 1848920)
ok i am haveing trouble getting this part
help please
i do not know where to find the stylevars
to copy this to


Instruction Part 2 - Stylevars
You need some stylevars for this Modification. So copy the next Lines and place them in each Sytle.
.hackinfo,.navlist div a,.navlist div a:active,.navlist div a:link,.navlist div a:visited{
font:12px verdana,arial,helvetica,sans-serif;
border:1px solid #E1E4F2;
width:165px;
display:block;
padding:3px 3px 3px 7px;
background:#ffffff;
color:#000099;
text-decoration:none
}
.navlist div a:hover{
border-width:0px;
border-top:1px solid #e1e1e1;
border-bottom:1px solid #e1e1e1;
background:#E1E4F2;
color:#000000
}
.navlist div.account a{padding-left:20px;width:165px;text-transform:lowercase}

Admin/Styles & Templates/Style Manager/

for the Theme you are adding this to using the dropdown menu to the right select Main css, scroll all the way down to the bottom until you see Additional CSS Definitions, drop it in the lower box.

EidolonAH 07-17-2009 01:07 PM

Hailz Coroner, I aint trying to say your mod is causing a conflict with the Cyb - Advanced Permissions Based on Post Count mod but that mod wont work in forums where I have your mod installed.
People on my site are not supposed to be allowed to reply to anything on my site until they have submitted an introduction. But the download forums i have your mod installed in are allowing new members with a '0' post count to reply to threads.
Like I say, I ain't trying to say your mod is causing the problem, but it is starting to look like the only thing left to be causing the other mod not to work. I've stripped out every other mod on my site until there were just this mod and Cybernetec's post mod left. Cybernetec's mod works fine every where else other than in the forums being affected by your mod here.
If you're certain there aint anything in your mod that could even possibly cause problems with Cybernetec's mod then I'll leave it be right as it is now. But if you can think of anything that might be affecting that other mod I would be most grateful if you could lead me in the right direction please. I've been trying to fix this for 3 days now and it's driving me stark staring bonkers mate.

Coroner 07-18-2009 08:07 AM

Sorry, I have no idea and I can't check every mod about any conflicts with it.
I think you have to choose only one of it.

Aurore 07-21-2009 01:30 PM

Very nice MOD.
One question, what the selection of a Article Forums is supose to do ? Is there a template change ?

Fynnon 08-09-2009 11:35 AM

1 Attachment(s)
Installed it on a test vB 3.8.3 with no other mods and it works
Great Work !

Attachment 103031

Winterworks 08-14-2009 04:41 PM

http://img4.imageshack.us/img4/662/dtvtvhvhtvhvh.jpg

Help, please Coroner?

Coroner 08-15-2009 03:20 AM

Um. I think there is a database table missing OR isn't filled with values ?!

Winterworks 08-20-2009 03:49 PM

Okay, got it working. But another question...

https://vborg.vbsupport.ru/

1) How do I have it know my Paypal email so people can donate to me?
2) How can I change it from saying "MOTM" to "SOTM"?
3) How can I make it have rounded corners?

Winterworks 08-20-2009 05:25 PM

https://vborg.vbsupport.ru/

Also, how do I change the "Modification" word on that? I've tried editing every phrase in the group "MOD System", and "GLOBAL", but no avail. Also, when there are actually modifications listed there, the "never", where do I edit that word, so it has a capital "N"?

Please help!

Coroner 08-23-2009 06:07 AM

Quote:

Originally Posted by Winterworks (Post 1871162)
http://img11.imageshack.us/img11/8097/rgrgrgt.jpg

Also, how do I change the "Modification" word on that? I've tried editing every phrase in the group "MOD System", and "GLOBAL", but no avail. Also, when there are actually modifications listed there, the "never", where do I edit that word, so it has a capital "N"?

Please help!

Global Phrases:
modsystem_profile_tab

Coroner 08-23-2009 06:13 AM

Quote:

Originally Posted by Winterworks (Post 1871118)
Okay, got it working. But another question...

http://img31.imageshack.us/img31/8972/rageeeee.jpg

1) How do I have it know my Paypal email so people can donate to me?
2) How can I change it from saying "MOTM" to "SOTM"?
3) How can I make it have rounded corners?

1.) First, you need usergroup permission. Second, in the Addon options (vB Options) Donate must be enabled
2.) Phrases: modsystem_admin_motm
3.) you need to edit the template style (I haven't done it, cause vB.org won't give me permission for the style and images)

Winterworks 08-27-2009 01:28 AM

Thanks Coroner!

Could someone look at their modsystem_post template, and tell me what code is below...

Code:

          <!-- MOTM -->
But above...

Code:


          <!-- / MOTM -->

I deleted that part by accident, and now I need to know what goes between it. I know it was to show the MOTM winner image thing, but what were the codes?

Winterworks 08-27-2009 04:30 PM

How do I install the VbAdvanced CMPS module?

MissKalunji 10-12-2009 11:08 PM

is it possible to require them to CLICK install before downloading?

Brathamike 10-13-2009 02:29 PM

Hey Cornor this would be a great mod for my site. I was wondering if your workng on some updates on the bugs? Im still watching this mod to see if there are updates

EidolonAH 10-15-2009 07:29 AM

Hi Coroner, this is probably the last thing you want to be asked right now, sorry to be hassling you about it but will you be updating this to work with vB4 when it is out?

MissKalunji 10-19-2009 11:14 PM

Quote:

Originally Posted by MissKalunji (Post 1898854)
is it possible to require them to CLICK install before downloading?

anyone can answer this ?

Thanks!

rizvihot 11-01-2009 06:58 AM

dear sir , can we use this for vb3.8.4?

tq in advance


All times are GMT. The time now is 01:33 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.01399 seconds
  • Memory Usage 1,847KB
  • 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
  • (13)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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