vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - e-steki User ModLog v1.1.3 - An alternative to moderation AutoPM (https://vborg.vbsupport.ru/showthread.php?t=154982)

johnrizz 08-13-2007 08:24 PM

That was quick and It works great! keep up the good work.....

MrZeropage 08-14-2007 04:56 AM

good work on the update *thumbs up*

btw you should update your signature to v1.1.2 too ;)

cynthetiq 08-14-2007 06:52 AM

It's late I thought I'd get one more mod in before bed, and I picked yours because Karma is so awesome. I think this looks awesome too.

For some reason, this isn't showing up in the CP.

I am now using the enlighten template and also did the GTUserCP - Enhanced USERCP Interface + USERCP Menu mod as well if that makes differences.

your FAQ is quite thorough, so I looked at the ""$template_hook[usercp_main_pos1]" (or pos2-6, depending on which position you have selected)" and I see that I'm already using all of them.

Code:

$template_hook[usercp_main_pos1]
<if condition="$show['privatemessages']">
<!-- ############## PRIVATE MESSAGES ##############  -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
 <tr>
  <td class="tcat" colspan="2">
  <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('usercp_pms')"><img id="collapseimg_usercp_pms" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_pms].gif" alt="" border="0" /></a>
  <a href="private.php$session[sessionurl_q]">$vbphrase[new_private_messages]</a><span class="normal">: ($numpms)</span>
  </td>
 </tr>
</thead>
<tbody id="collapseobj_usercp_pms" style="$vbcollapse[collapseobj_usercp_pms]">
 $messagelistbits
</tbody>
</table>
<br />
<!-- ############## END PRIVATE MESSAGES ##############  -->
</if>
$template_hook[usercp_main_pos2]
<!-- ############## SUBSCRIBED THREADS ##############  -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
 <tr>
  <td class="tcat" colspan="$subscribedthreadscolspan">
  <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('usercp_subthreads')"><img id="collapseimg_usercp_subthreads" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_subthreads].gif" alt="" border="0" /></a>
  $vbphrase[new_subscribed_threads]<span class="normal">: ($numthreads)</span>
  </td>
 </tr>
</thead>
<tbody id="collapseobj_usercp_subthreads" style="$vbcollapse[collapseobj_usercp_subthreads]">
 <if condition="$show['threads']">
  <tr class="thead">
 
  <if condition="$show['threadicons']">
    <td class="thead" colspan="2">&nbsp;</td>
  <else />
    <td class="thead">&nbsp;</td>
  </if>
 
  <td class="thead" width="100%">$vbphrase[thread] / $vbphrase[thread_starter]</td>
  <td class="thead" width="150" align="center" nowrap="nowrap">$vbphrase[last_post]</td>
  <td class="thead" align="center">$vbphrase[replies]</td>
  <td class="thead" align="center">$vbphrase[views]</td>
  </tr>
  $threadbits
 <else />
  <tr>
  <td class="alt1" align="center" colspan="$subscribedthreadscolspan"><strong>$vbphrase[no_subscribed_threads_to_display]</strong></td>
  </tr>
 </if>
 <tr>
  <td align="$stylevar[right]" colspan="$subscribedthreadscolspan" class="tfoot">
  <span class="smallfont"><a href="subscription.php?$session[sessionurl]do=viewsubscription&amp;folderid=all">$vbphrase[view_all_subscribed_threads]</a></span>
  </td>
 </tr>
</tbody>
</table>
<br />
<!-- ############## END SUBSCRIBED THREADS ##############  -->
$template_hook[usercp_main_pos3]
<if condition="$show['forums']">
<!-- ############## SUBSCRIBED FORUMS ##############  -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
 <tr>
  <td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>">
  <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('usercp_forums')"><img id="collapseimg_usercp_forums" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_forums].gif" alt="" border="0" /></a>
  $vbphrase[subscribed_forums]
  </td>
 </tr>
</thead>
<tbody id="collapseobj_usercp_forums" style="$vbcollapse[collapseobj_usercp_forums]">
 <tr align="center" valign="bottom">
  <td class="thead" width="2%">&nbsp;</td>
  <td class="thead" align="$stylevar[left]" width="80%">$vbphrase[forum]</td>
  <td class="thead">$vbphrase[last_post]</td>
  <td class="thead">$vbphrase[threads]</td>
  <td class="thead">$vbphrase[posts]</td>
  <if condition="$vboptions['showmoderatorcolumn']">
  <td class="thead" width="20%">$vbphrase[moderator]</td>
  </if>
 </tr>
 $forumbits
</tbody>
</table>
<br />
<!-- ############## END SUBSCRIBED FORUMS ##############  -->
</if>
$template_hook[usercp_main_pos4]
<if condition="$show['infractions']">
<!-- ############## NEW INFRACTIONS ##############  -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
 <tr>
  <td class="tcat" colspan="7">
  <span class="smallfont" style="float:$stylevar[right]">
    <phrase 1="$bbuserinfo[ipoints]">$vbphrase[x_points_total]</phrase>
    &nbsp; &nbsp;
    <a href="#top" onclick="return toggle_collapse('usercp_infraction')"><img id="collapseimg_usercp_infraction" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_infraction].gif" alt="" border="0" /></a>
  </span>
  $vbphrase[latest_infractions_received]
  </td>
 </tr>
</thead>
<tbody id="collapseobj_usercp_infraction" style="$vbcollapse[collapseobj_usercp_infraction]">
 <tr>
  <td class="thead">&nbsp;</td>
  <td class="thead">$vbphrase[post]</td>
  <td class="thead">$vbphrase[date]</td>
  <td class="thead">$vbphrase[expires]</td>
  <td class="thead" nowrap="nowrap">$vbphrase[points]</td>
  <td class="thead">$vbphrase[reason]</td>
  <td class="thead" nowrap="nowrap">$vbphrase[posted_by]</td>
 </tr>
 $infractionbits
</tbody>
</table>
<br />
<!-- ############## END NEW INFRACTIONS ##############  -->
</if>
$template_hook[usercp_main_pos5]
<if condition="$show['reputation']">
<!-- ############## NEW REPUTATION ##############  -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
 <tr>
  <td class="tcat" colspan="$reputationcolspan">
  <span class="smallfont" style="float:$stylevar[right]">
    <phrase 1="$bbuserinfo[reputation]">$vbphrase[x_points_total]</phrase>
    &nbsp; &nbsp;
    <a href="#top" onclick="return toggle_collapse('usercp_reputation')"><img id="collapseimg_usercp_reputation" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_reputation].gif" alt="" border="0" /></a>
  </span>
  $vbphrase[latest_reputation_received]
  </td>
 </tr>
</thead>
<tbody id="collapseobj_usercp_reputation" style="$vbcollapse[collapseobj_usercp_reputation]">
 <tr>
  <td class="thead">&nbsp;</td>
  <td class="thead">$vbphrase[thread]</td>
  <td class="thead">$vbphrase[date]</td>
  <if condition="$vboptions['showuserraters']">
  <td class="thead" nowrap="nowrap">$vbphrase[posted_by]</td>
  </if>
  <td class="thead">$vbphrase[comment]</td>
 </tr>
 $reputationcommentbits
</tbody>
</table>
<br />
<!-- ############## END NEW REPUTATION ##############  -->
</if>
$template_hook[usercp_main_pos6]
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
 <td width="100%">&nbsp;</td>
 <td align="$stylevar[right]">$forumjump</td>
</tr>
</table>


FReeSTER 08-14-2007 07:25 AM

Thank you Michelle. Works great with vb version 3.6.5 :)

**INSTALLED**

Lea Verou 08-14-2007 08:05 AM

Quote:

Originally Posted by Essam (Post 1316800)
its working great for my forum thank you

can you make the same idea for ( reported posts ) ?
only moderators forum can view the complaints in the usercp

I didn't understand, can you explain your idea in more detail? :)

Quote:

Originally Posted by cynthetiq (Post 1317071)
It's late I thought I'd get one more mod in before bed, and I picked yours because Karma is so awesome. I think this looks awesome too.

For some reason, this isn't showing up in the CP.

I am now using the enlighten template and also did the GTUserCP - Enhanced USERCP Interface + USERCP Menu mod as well if that makes differences.

your FAQ is quite thorough, so I looked at the ""$template_hook[usercp_main_pos1]" (or pos2-6, depending on which position you have selected)" and I see that I'm already using all of them.

Firstly ensure that there is something to be shown. Eg make a moderator of yours perform an edit on one of your posts, or turn the option "Show self actions" to yes and perform a moderating action on your posts yourself.
If none of this work, post a screenshot of your settings.

Quote:

Originally Posted by MrZeropage (Post 1317043)
good work on the update *thumbs up*

btw you should update your signature to v1.1.2 too ;)

LOL thanks, I'm so forgetful all the time :o

Thanks to everyone else who installed or nominated as well :) :)

Axel Foley 08-14-2007 09:10 AM

Quote:

Originally Posted by Michelle (Post 1316641)
Tell me one reason why someone would want to set that option to yes and I'll add it ;)

Thanks so much for the nomination!!! https://vborg.vbsupport.ru/https://vborg.vbsupport.ru/

Because there are people like me who don't like dynamic sections on a page appearing. I like the structure of a page being always the same and the data to be dynamic, don't like a table appearing only when there's data...:)

It would also solve you lots of problems telling users of this hack that can't see the table to make sure there's data...if they enable the option to always display the table even with empty data and the table in usercp doesn't come up, the problem is in the template part, not the data collection part of the hack...useful for debugging...:)

I gave you 2 reasons...please provide us this other option...:)

Ciao!

Lea Verou 08-14-2007 09:14 AM

Lol ok, you convinced me :D
I'll add it today ;)

cynthetiq 08-14-2007 11:09 AM

Quote:

Originally Posted by Michelle (Post 1317107)
Firstly ensure that there is something to be shown. Eg make a moderator of yours perform an edit on one of your posts, or turn the option "Show self actions" to yes and perform a moderating action on your posts yourself.
If none of this work, post a screenshot of your settings.

I dunno if it was because I was sleepy or what but it works as expected.

I was looking for it to appear as a menu option the left side as a selection and then a popup window.

Of course as I made more actions, it grew and I could see it plain as day.

Lesson: I shouldn't add mods and look at code when I'm sleepy.

Thanks this is AWESOME!

Lea Verou 08-14-2007 11:22 AM

Its normal to be confused, as a 700x700 attachment limit doesn't allow much detail in the screenshots :mad:
Thanks cynthetiq :)

cynthetiq 08-14-2007 12:26 PM

question: I moderated a thread by closing the thread. I then moved the thread to a moderators only forum.

The mod actions then are no longer visible as you described. Is there a simple way to at least show up to the point that the thread was moved to the moderators forum, and that's where the trail ends? Or is that impossible?

This way users will see that the thread was moved, otherwise, once it is moved to a moderator forum there is no way for them to see that it got moved there anylonger.

Am I making sense or am I still sleepy?


All times are GMT. The time now is 02:42 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.01349 seconds
  • Memory Usage 1,789KB
  • 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
  • (1)bbcode_code_printable
  • (5)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