vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Inline Moderation Tools (v1.2.1) (https://vborg.vbsupport.ru/showthread.php?t=68791)

Jmonto 12-27-2004 11:53 PM

thanks for the quick reply...very nice hack by the way

YLP1 12-28-2004 11:25 PM

Hi everyone...I am using the lastest version of this mod (I updated it today)...I have gone through every code change three times, confirmed that admins and mods are at super moderator status yet when I (the main admin) attempt to use any of the inline mod functions I receive this:

Quote:

Robin, you do not have permission to access this page. This could be due to one of several reasons:

Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation
Where did I go wrong?

theArchitect 12-29-2004 11:29 PM

It is working on my old board fine. But I have just installed it on a new board and the tools are working ok in postbit but not in threadbit.

In threadbit I don't see any check boxes nor can I see the Forum column either.

Any thoughts?

Zachariah 01-04-2005 03:22 AM

Be nice to add the "check box" and inline mod tool to search.php page. EX: If a search for a "term" and get a result it would be nice to check a load of treads and move it ect ...

Prob just a few template edits.

rob_daemon 01-04-2005 05:38 AM

Quote:

Originally Posted by HarryButt
Be nice to add the "check box" and inline mod tool to search.php page. EX: If a search for a "term" and get a result it would be nice to check a load of treads and move it ect ...

Prob just a few template edits.

If you look back the thread a few pages, I added this in an earlier version but I removed it due to security issues. There's no easy way to check permissions for each thread unless you want to query each thread/forum permission that you have selected, which I decided against.

Zachariah 01-04-2005 12:49 PM

Quote:

Originally Posted by rob_daemon
If you look back the thread a few pages, I added this in an earlier version but I removed it due to security issues. There's no easy way to check permissions for each thread unless you want to query each thread/forum permission that you have selected, which I decided against.


Cool I'll take a look back.

I edited your script for my needs.

find: can_moderate($foruminfo['forumid'])
replace: $bbuserinfo['userid'] == 1

In all template edits. I'll read a little bit and make it to only usergroups x,x,x

Nick0r 01-15-2005 07:49 PM

Really Really nice hack.... there should be a physical delete option though, or if not, maybe a "if the thread is already soft deleted and delete is selected again, phsyically delete it"

MaTraX 02-05-2005 03:37 AM

Hi
I`m getting e-mails with problem:
Code:

Invalid SQL: DELETE FROM post_parsed WHERE postid IN (82305, 81448)
mysql error: Table 'matrax.post_parsed' doesn't exist

mysql error number: 1146

Date: Saturday 05th of February 2005 12:51:23 AM
Script: http://www.matrax.net/forum/inlinemod.php
Referer: http://www.matrax.net/forum/inlinemod.php

In the install instruction there isn`t anythin about creating some tables..
Could you help me?

Thank you in advance

Slybone 02-05-2005 01:39 PM

Quote:

Originally Posted by rob_daemon
I considered hard delete but that could be a problem if you accidentally selected the wrong option.

Well couldn't you just post a modification for it so the people that want it in there can get it?

rob_daemon 02-05-2005 04:27 PM

Quote:

Originally Posted by MaTraX
Hi
I`m getting e-mails with problem:
Code:

Invalid SQL: DELETE FROM post_parsed WHERE postid IN (82305, 81448)
mysql error: Table 'matrax.post_parsed' doesn't exist

mysql error number: 1146

Date: Saturday 05th of February 2005 12:51:23 AM
Script: http://www.matrax.net/forum/inlinemod.php
Referer: http://www.matrax.net/forum/inlinemod.php

In the install instruction there isn`t anythin about creating some tables..
Could you help me?

Thank you in advance

Have you modified your database in any way? The post_parsed table is a default table in vBulletin and should be there. Check in phpMyAdmin that it is.

Quote:

Originally Posted by Slybone
Well couldn't you just post a modification for it so the people that want it in there can get it?

It's in the next version :).

Slybone 02-05-2005 05:21 PM

Quote:

Originally Posted by rob_daemon
It's in the next version :).

Beautiful, May I just add that this hack makes moderating my forum 10 times easier.

[high]* Slybone Clicks install[/high]

Vevina 02-17-2005 03:01 PM

Installed this but ... the inline moderation toolbar is not displaying :( what did i do wrong?

epic1 02-17-2005 11:48 PM

This hack is great, thanks. Only questions I have so far....

1) It seems as if I can't do anything with inline moderation when I'm actually in a post and the three options are listed. Are checkboxes supposed to be showing by each post? Not sure, just seems like nothing functions. However, on forum homes, things like making posts stickies work like a charm.

I'm talking about how when you click through to each thread you have:
Merge Posts
Soft Delete Posts
Split Posts

How do I make those function?

MaTraX 02-18-2005 04:50 AM

@rob_daemon - It`s everything ok. now.. I just didn`t have the proper prefix in the inlinemod.php file : There was standard post_parsed and I have v3_post_parsed :) After changing this it`s working great.

Btw.
What I have to do to remove posts physically and not only soft? It`s pretty important for me. Thank you in advance for help

rob_daemon 02-20-2005 06:15 PM

Quote:

Installed this but ... the inline moderation toolbar is not displaying what did i do wrong?
Are you sure you have added the toolbars to the SHOWTHREAD and FORUMDISPLAY templates? Also that you added the small global.php hack?

Quote:

This hack is great, thanks. Only questions I have so far....

1) It seems as if I can't do anything with inline moderation when I'm actually in a post and the three options are listed. Are checkboxes supposed to be showing by each post? Not sure, just seems like nothing functions. However, on forum homes, things like making posts stickies work like a charm.

I'm talking about how when you click through to each thread you have:
Merge Posts
Soft Delete Posts
Split Posts

How do I make those function?
Do you have the inline moderation toolbar at the bottom?

Quote:

@rob_daemon - It`s everything ok. now.. I just didn`t have the proper prefix in the inlinemod.php file : There was standard post_parsed and I have v3_post_parsed After changing this it`s working great.

Btw.
What I have to do to remove posts physically and not only soft? It`s pretty important for me. Thank you in advance for help
You're right about the improper query prefix. I've fixed this in SVN.

And the physical delete stuff will be in the next version.

epic1 02-21-2005 05:15 AM

Quote:

Originally Posted by rob_daemon
Do you have the inline moderation toolbar at the bottom?

Yep I do! It seems on the old-school postbit legacy the checkboxes show up fine on individual postbits. However, on the vertical display, no checkboxes are showing next to the posts.

rob_daemon 02-21-2005 05:18 AM

You need to then reapply the modification instructions for the postbit template. You don't have it there, only on the postbit_legacy one.

epic1 02-21-2005 02:23 PM

Yep I feel like an idiot. :D Just must have read over it since that was the only instruction that combined two templates.

Thanks for the assistance - awesome code. I wish this was included with vBulletin to begin with!

msimplay 02-21-2005 06:51 PM

works well i installed today

YLP1 03-08-2005 08:46 PM

UGGHHHHH I updated my vb version to 3.0.7 and the inline quit working. So I completely uninstalled and reinstalled and double checked the modifications and I continue to get this error when trying to use any of the three options like split post

I am too young to get all this gray hair...can someone lend me an eye and advise me on how to get this working. I would greatly appreciate (so will my hair)

Here is the error:
Quote:

Invalid inline moderation items specified. If you followed a valid link, please notify the webmaster

rob_daemon 03-09-2005 04:44 AM

Are you viewing multiple threads or forums at the same time as selecting items for moderation?

YLP1 03-09-2005 01:55 PM

I only have one window open meaning I am only viewing a single topic and am trying to split some of the posts out of the topic (using the check marks). I noticed that the "go" button doesn't show the number of boxes checked like it did before.

kcadd 03-09-2005 04:55 PM

[high]* kcadd clicks install :D[/high]

rob_daemon 03-09-2005 09:54 PM

Quote:

Originally Posted by YLP1
I only have one window open meaning I am only viewing a single topic and am trying to split some of the posts out of the topic (using the check marks). I noticed that the "go" button doesn't show the number of boxes checked like it did before.

This means the system isn't being initialized. If it doesn't read "Go (0)" when the page is fully loaded, then there's something wrong with the templates or you don't have the JavaScript file uploaded. Check to make sure that the HTML of threads and forums link to the inline_moderation.js file and that the file actually exists.

YLP1 03-09-2005 11:52 PM

Quote:

Originally Posted by rob_daemon
This means the system isn't being initialized. If it doesn't read "Go (0)" when the page is fully loaded, then there's something wrong with the templates or you don't have the JavaScript file uploaded. Check to make sure that the HTML of threads and forums link to the inline_moderation.js file and that the file actually exists.

Ok I double checked that and all appears the way it should. Here is more info....

This problem is occuring ONLY when try to moderate individual posts:

In the first graphic example, I have checked 4 posts that I want to split from this topic and see the inline mod tools GO button has no (#) on it.

But the Inline Mod is working for the actual topics:

In the 2nd graphic example, the GO button has the correct amount of topics that I checked and allows me to pick a choice from the dropdown.

I don't know what I've done wrong but this Mod has been a really good time saver and I am lost without it any help is greatly appreciated.

Robin

rob_daemon 03-09-2005 11:57 PM

Can you post in HTML tags the HTML source of a thread page. I'm at a loss as to why this doesn't work.

YLP1 03-10-2005 01:23 AM

Quote:

Originally Posted by rob_daemon
Can you post in HTML tags the HTML source of a thread page. I'm at a loss as to why this doesn't work.

Here is the html from this page: http://www.yourlincolnpark.com/LPSFo...ead.php?t=4415


Quote:

<body>


<script type="text/javascript">
<!--
function log_out()
{
ht = document.getElementsByTagName("html");
ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(gray scale=1)";
if (confirm('Are you sure you want to log out?'))
{
return true;
}
else
{
ht[0].style.filter = "";
return false;
}
}
//-->
</script>

<br />

<!-- breadcrumb, login, pm info -->
<table class="tborder" cellpadding="2" cellspacing="1" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%">

<table cellpadding="0" cellspacing="0" border="0">
<tr valign="bottom">
<td><a href="#" onclick="history.back(1)"><img src="argon/misc/navbits_start.gif" alt="Go Back" border="0" /></a></td>
<td>&nbsp;</td>
<td width="100%"><span class="navbar"><a href="lpsforum.php?" accesskey="1">Your Lincoln Park Community Forums - Where YOU have a VOICE!</a></span>
<span class="navbar">&gt; <a href="forumdisplay.php?f=17">GENERAL COMMUNITY FORUMS</a></span>
<span class="navbar">&gt; <a href="forumdisplay.php?f=26">Teen Chat</a></span>
</td></tr><tr>
<td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><a href="/LPSForum/showthread.php?t=4415"><img class="inlineimg" src="argon/misc/navbits_finallink.gif" alt="Reload this Page" border="0" /></a> <strong>
Minimum wage for teenagers

</strong></td></tr></table></td>
<td valign="top" nowrap="nowrap" class="alt2">
<div class="smallfont">
<!--<span style="float:right">[<a href="login.php?do=logout&amp;u=1" onclick="return log_out()">Log<br/>Out</a>]</span>-->
<strong>Welcome, Robin.</strong><br />
You last visited: 03-04-05 at <span class="time">7:32 pm</span>
<br /><a href="private.php?">Private Messages</a>: 0 Unread, Total 225.<br />There have been 166 topics & 1271 posts since your last visit!</div></td>
</tr></table><!-- / breadcrumb, login, pm info -->

<!-- nav buttons bar -->
<div align="center">
<table class="tborder" cellpadding="2" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
<tr align="center">
<tr align="center">
<!--<td class="vbmenu_control"><a href="lpsforum.php?">Main</a></td>-->
<td class="vbmenu_control"><a href="radio.php?">YLP</br>JukeBox</a></td>
<td id="navbar_activetopics" class="vbmenu_control">
<a href="search.php?&do=getdaily&days=1">Active &nbsp;&nbsp;&nbsp;<br/>Topics</a>
<script type="text/javascript">
vbmenu_register("navbar_activetopics");
</script>
</td>

<td class="vbmenu_control"><a href="shop.php?" accesskey="5">YLP</br> Store</a></td>

<td class="vbmenu_control"><a href="arcade.php?">Arcade</a></td>
<td class="vbmenu_control"><a href="http://www.yourlincolnpark.com/lpsforum/lpsforum.php">Go to<br/> Forums</a></td>
<td class="vbmenu_control"><a href="usercp.php?">Profile</a></td>
<td class="vbmenu_control"><a href="register.php?">Register</a></td>
<td class="vbmenu_control"><a href="faq.php?" accesskey="5">FAQ</a></td>
<td class="vbmenu_control"><a href="search.php?do=getnew" accesskey="2">Newest<br/> Posts</a></td>
<td id="navbar_search" class="vbmenu_control"><a href="search.php?" accesskey="4">Search</a> <script type="text/javascript"> vbmenu_register("navbar_search"); </script></td>
<td id="usercptools" class="vbmenu_control"><a href="#usercptools">Quick&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;<br/>Links</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>
<td class="vbmenu_control"><a href="login.php?do=logout&amp;u=1" onclick="return log_out()">Log<br/>Out</a></td>
</tr></table>
</div>
<!-- / nav buttons bar --><br /><br />
<!-- NAVBAR POPUP MENUS --><div class="vbmenu_popup" id="navbar_activetopics_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr> <td class="thead">Active<br/> Topics</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php?&do=getdaily&days=1">Today</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php?&do=getdaily&days=2">Last 2 Days</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php?&do=getdaily&days=3">Last 3 Days</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php?&do=getdaily&days=4">Last 4 Days</a></td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php?&do=getdaily&days=5">Last 5 Days</a></td>
</tr>
</table>
</div>

<!-- header quick search form -->
<div class="vbmenu_popup" id="navbar_search_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">Search YLP Forums</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<form action="search.php" method="post">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="showposts" value="0" />
<input type="text" class="bginput" name="query" size="20" /><!-- go button -->
<input type="submit" class="button" value="Go" /><br />
</form>
</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php?" accesskey="4">Advanced Search</a></td>
</tr><tr>
<td class="vbmenu_option"><a href="post_thanks.php?do=findallthanks">Find All Thanked Posts</a></td>
</tr>
<tr>
<td class="thead">Arcade Game Search</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<form action="arcade.php" method="post">
<input type="text" class="bginput" name="search" size="20" /><!-- go button -->
<input type="submit" class="button" value="Go" /><br />
</form>
</td>
</tr>


</table>
</div>
<!-- / header quick search form -->



<!-- user cp tools menu -->
<div class="vbmenu_popup" id="usercptools_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">

<tr><td class="thead">Quick&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;< br/>Links</td></tr> <tr><td class="vbmenu_option"><a href="http://www.yourlincolnpark.com/lpsforum/lpforum.php">Go to<br/> Forums</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://yourlincolnpark.com/lpsforum/index.php">Forum Directory</a></td></tr>

<tr><td class="vbmenu_option"><a href="http://www.yourlincolnpark.com">YLP<br/> Home</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.yourlincolnpark.com/html/product_1.asp">What's New?</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://yourlincolnpark.com/cgi-bin/citycal/calendar.cgi">City Events</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.yourlincolnpark.com/html/city_dept_contact_numbers.asp">City Dept Directory</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.yourlincolnpark.com/html/council_minutes_download.asp">Council Minutes</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.amlegal.com/Lincoln_Park_mi">City Ordinances</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.yourlincolnpark.com/html/lincoln_park_polls.asp">Community Polls</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.yourlincolnpark.com/html/lp_picture_gallery.asp">Photo Gallery</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.yourlincolnpark.com/html/lp_sponsors.asp">Sponsors & Volunteers</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.yourlincolnpark.com/classifieds/classifieds.cgi">Free Ads</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.yourlincolnpark.com/html/reference.asp">Reference Section</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://cityoflincolnparkmi.com/YellowPages1">Yellow Pages</a></td></tr>
<tr><td class="vbmenu_option"><a href="http://www.yourlincolnpark.com/html/joseph_lyson_jr.asp">In Memory Of</a></td></tr>

<tr><td class="vbmenu_option"><a href="search.php?do=getnew">Newest<br/> Posts</a></td></tr>
<tr><td class="vbmenu_option"><a href="forumdisplay.php?do=markread">Mark Forums Read</a></td></tr>
<tr><td class="vbmenu_option"><a href="#" onclick="window.open('misc.php?do=buddylist&amp;fo cus=1','buddylist','statusbar=no,menubar=no,toolba r=no,scrollbars=yes,resizable=yes,width=250,height =300'); return false;">Open Buddy List</a></td></tr>
<tr><td class="thead"><a href="usercp.php?">User Control Panel</a></td></tr>
<tr><td class="vbmenu_option"><a href="profile.php?do=editsignature">Edit Signature</a></td></tr>
<tr><td class="vbmenu_option"><a href="profile.php?do=editavatar">Edit Avatar</a></td></tr>
<tr><td class="vbmenu_option"><a href="profile.php?do=editprofile">Edit Profile</a></td></tr>
<tr><td class="vbmenu_option"><a href="profile.php?do=editoptions">Edit Options</a></td></tr>
<tr><td class="thead">Miscellaneous</td></tr>
<tr><td class="vbmenu_option"><a href="private.php?">Private Messages</a></td></tr>
<tr><td class="vbmenu_option"><a href="subscription.php?">Subscribed Topics</a></td></tr>
<tr><td class="vbmenu_option"><a href="member.php?u=1">My Profile</a></td></tr>
<tr><td class="vbmenu_option"><a href="online.php?">Who's Online</a></td></tr>
<tr><td class="vbmenu_option"><a href="composeexternal.php?">Generate JS</a></td></tr> </table> </div> <!-- / user cp tools menu -->
<!-- / NAVBAR POPUP MENUS --><table align="center" class="page" cellspacing="0" cellpadding="0"width="100%">
<tr valign="top">
<td valign="top">&nbsp;&nbsp;<div align="left"><h3>Minimum wage for teenagers</h3></div> <a name="poststop" id="poststop"></a><!-- controls above postbits -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
<tr valign="bottom"><td class="smallfont"><a href="newreply.php?do=newreply&amp;noquote=1&amp;p =46083"><img src="argon/buttons/reply.gif" alt="Reply" border="0" /></a></td><td align="right"><div class="pagenav" align="right">
<table class="tborder" cellpadding="3" cellspacing="1" border="0">
<tr> <td class="vbmenu_control" style="font-weight:normal"><!--<img src="argon/misc/multipage.gif" alt="Showing results 1 to 8 of 19 (3 pages)" /> -->Page 1 of 3</td><td class="alt2"><span class="smallfont" title="Showing results 1 to 8 of 19"><strong>1</strong></span></td>
<td class="alt1"><a class="smallfont" href="showthread.php?t=4415&amp;page=2&amp;pp=8" title="Show results 9 to 16 of 19">2</a></td>
<td class="alt1"><a class="smallfont" href="showthread.php?t=4415&amp;page=3&amp;pp=8" title="Show results 17 to 19 of 19">3</a></td>
<td class="alt1"><a class="smallfont" href="showthread.php?t=4415&amp;page=2&amp;pp=8" title="Next Page - Results 9 to 16 of 19">&gt;</a></td>
</tr></table></div></td></tr>
</table>
<!-- / controls above postbits -->

<!-- toolbar -->
<table class="tborder" cellpadding="2" cellspacing="1" border="0" width="100%" align="center" style="border-bottom-width:0px">
<tr>
<td class="tcat" width="100%">
<div class="smallfont"><a href="#post46083"><img class="inlineimg" src="argon/buttons/firstnew.gif" alt="View First Unread" border="0" /></a> <a href="#post46083"><strong>View First Unread</strong></a>&nbsp;</div>
</td> <td class="vbmenu_control" id="threadtools"><a href="#goto_threadtools" accesskey="3">Topic Tools</a>
<script type="text/javascript"> vbmenu_register("threadtools"); </script>
</td><td class="vbmenu_control" id="threadsearch"><a href="#goto_threadsearch">Search this Topic</a>
<script type="text/javascript"> vbmenu_register("threadsearch"); </script></td><td class="vbmenu_control" id="threadrating"><a href="#goto_threadrating">Rate Topic</a>
<script type="text/javascript"> vbmenu_register("threadrating"); </script>
</td><td class="vbmenu_control" id="displaymodes">
<a href="#goto_displaymodes">Display Modes</a><script type="text/javascript"> vbmenu_register("displaymodes"); </script>
</td></tr>
</table><!-- / toolbar --><!-- end content table --> </div>
</div></div><!-- / close content container -->
<!-- / end content table --><div id="posts"><!-- post #46083 --><!-- open content container --> <div align="center"><div class="page" style="width:100%; text-align:left"><div style="padding:0px 3px 0px 3px">
<div style="padding:0px 0px 2px 0px"><!-- this is not the last post shown on the page --> <table class="tborder" id="post46083" cellpadding="2" cellspacing="1" border="0" width="100%" align="center">
<tr><td class="thead" ><div class="normal" style="float:right">&nbsp;#<a href="showpost.php?p=46083&amp;postcount=1" target="new"><strong>1</strong></a><a href="#" onclick="return reputation(46083)"><img class="inlineimg" src="argon/buttons/reputation.gif" alt="Add to Mr Magoo's Reputation" border="0" /></a> &nbsp;<a href="report.php?p=46083"><img class="inlineimg" src="argon/buttons/report.gif" alt="Report Bad Post" border="0" /></a> &nbsp;<a href="postings.php?do=getip&amp;p=46083"><img class="inlineimg" src="argon/buttons/ip.gif" alt="IP" title="207.74.195.249" border="0" /></a>
</else><input type="checkbox" id="inlinemod_46083" name="inlinemod_46083" value="1" onclick="select_item(46083, this);" /></div><div class="normal">
<!-- status icon and date --><a name="post46083"><img class="inlineimg" src="argon/statusicon/post_new.gif" alt="Unread" border="0" /></a>03-09-05, 4:12 pm<a name="newpost"></a><!-- / status icon and date --></div>
</td>
</tr>
<tr><td class="alt2" style="padding:0px">
<!-- user info --><table cellpadding="0" cellspacing="2" border="0" width="100%">
<tr><td class="alt2"><a href="member.php?u=13"><img src="customavatars/avatar13_1.gif" alt="Mr Magoo's Avatar" border="0" /></a></td><br /><td nowrap="nowrap"><div id="postmenu_46083"><a class="bigusername" href="member.php?u=13"><B>Mr Magoo</b></a><img class="inlineimg" src="argon/statusicon/user_offline.gif" alt="Mr Magoo is offline" border="0" />
<script type="text/javascript"> vbmenu_register("postmenu_46083", true); </script>
</div><div class="smallfont">Taxpayer Friend</div>
<div id="postmenu_arcade_46083"><script type="text/javascript"> vbmenu_register("postmenu_arcade_46083", true); </script>
<u><b>Arcade Info</b></u></div>
</td><td width="100%">&nbsp;</td>
<td valign="top" nowrap="nowrap"><div class="smallfont">
<div>Join Date: Jan 2004</div><div>Posts/Thanks: 757/0
<br>Thanked 18 Times in 14 Posts </div><div><img class="inlineimg" src="argon/reputation/reputation_pos.gif" alt="Mr Magoo is making fast friends" border="0" /><img class="inlineimg" src="argon/reputation/reputation_pos.gif" alt="Mr Magoo is making fast friends" border="0" /></div><div> </div></div></td></tr></table>
<!-- / user info --></td>
</tr>
<tr><td class="alt1"><br /><!-- message, attachments, sig --><!-- icon and title --><div class="smallfont"><strong>Minimum wage for teenagers</strong>
</div><hr size="1" style="color:#D3C3A6" /><!-- / icon and title -->
<!-- message --><div>There has been a lot of discussion recently about raising the minimum wage (which I am entirely against)<br />
<br />But a few years ago, many business owners, (fast food and such) were asking for a minimum wage for teenagers. They pointed out the work ethic just wasn't there yet and these kids didn't quite deserve minimum wage. They were asking for a special minimum wage for teens.<br />
<br />
I think this is a Cracker Jack idea. I know the teen members of this forum will be jumping on me, but that is fine. I think with my head, not my emotions.<br /><br />
Take for example the cashiers at the fast food places. How many times have they charged me for a regular coffee rather than a senior coffee. They then have to figure out in their head how much to reimburse me. You would think they were trying to figure out how to send a man to the moon.<br />
<br />By being able to pay less to their teenage employees, the employers would be able to hire more teens. Rather than one person trying to do so much, they could have a bigger crew. By having a job, we have less kids on the street letting air out of tires and knocking my mailbox off its stand.<br />
I thank you.</div>
<!-- / message -->
<!-- sig -->
<div>__________________<br /><b><font size="3">Councilman Mario DiSanto in 05, Unbought and Unbossed. VOTE!!</font></b></div><!-- / sig -->
<br />
<div align="right">
<!-- controls -->
<!-- post thank you hack -->
<a href="post_thanks.php?do=post_thanks&p=46083"><img src="argon/buttons/post_thanks.gif" alt="Thanks" border="0" ></a>
<!-- end post thank you hack --><a href="editpost.php?do=editpost&amp;p=46083"><img src="argon/buttons/edit.gif" alt="Edit/Delete Message" border="0" /></a> <a href="newreply.php?do=newreply&amp;p=46083"><img src="argon/buttons/quote.gif" alt="Reply With Quote" border="0" /></a><a href="newreply.php?do=newreply&amp;p=46083" onclick="return qr(46083);"><img src="argon/buttons/quickreply.gif" alt="Quick reply to this message" border="0" /></a><!-- / controls --></div>

<!-- message, attachments, sig -->
</td></tr></table>
</td>
</tr>

</tbody>
</table>
I'm not sure if the above is what you wanted....I cut out all but a few of the actual posts on the page.

Thanks again for your help.

rob_daemon 03-10-2005 01:51 AM

I need the code from the whole page, from <html> to </html> to troubleshoot the problem completely. Also if you can use the [html][/html] BBCode tags, that'd be helpful, too :).

YLP1 03-10-2005 03:00 AM

Here is the whole code and thank you for all your help on this.

The file size is to big to post html to /html ......I'm not sure how to get this source code to you except that one can view the source of the actual page from the link http://www.yourlincolnpark.com/LPSF...read.php?t=4415.

Let me know how I can send you the source code.

Thanks again for all your help.

rob_daemon 03-10-2005 03:07 AM

I need to be able to see what a moderator sees to analyze the page. Can you copy the source code and just stick it in a .TXT and attach it?

YLP1 03-10-2005 03:52 AM

Ok dokey.....here ya go....doh, why didn't I think of putting it in a txt and attaching! LOL

Told ya I was going nuts over this LOL LOL

rob_daemon 03-10-2005 04:38 AM

Exactly what I needed :).

It appears that the SHOWTHREAD template has not been modified. The <body> onload attribute is not present for inline_init() and there is no JavaScript link to the inline moderation functions. Try redownloading the install instructions and following the ones for the SHOWTHREAD template.

YLP1 03-10-2005 12:39 PM

Quote:

Originally Posted by rob_daemon
Exactly what I needed :).

It appears that the SHOWTHREAD template has not been modified. The <body> onload attribute is not present for inline_init() and there is no JavaScript link to the inline moderation functions. Try redownloading the install instructions and following the ones for the SHOWTHREAD template.


Is this the code that is missing from the showthread template?
Quote:

<body onload="<if condition="can_moderate($thread['forumid']) AND $show['inlinemod']">inline_init($thread[threadid], 'post');</if>$onload">
I went through all the styles and reapplied the showthread modifications and had the same results.

I then completely removed this inline from all styles, etc. and then reapplied ..... and I have the same results...the inline doesn't work for the posts but it works for the topics.

Any ideas?

rob_daemon 03-11-2005 04:06 AM

Yes, that is missing. But you're also missing:

HTML Code:

<script type="text/javascript" src="clientscript/inline_moderation.js"></script>
Try creating a fresh new style and reapplying all the template modifications to see if that works.

YLP1 03-12-2005 06:10 PM

I am reinstalling the mod because I couldn't get it to work.

I am using the Inline Moderation vers 1.2.1 on vB3.0.7.

I am on the part of adding code to the threadbit in my templates:

Quote:

<if condition="can_moderate($thread['forumid']) AND $show['inlinemod']">
<td class="alt1" align="center"><if condition="$show['threadmoved']">-<else /><input type="checkbox" id="inlinemod_$thread[threadid]" name="inlinemod_$thread[threadid]" value="1" onclick="select_item($thread[threadid], this);" /></if>
</if>
Each time I try to add it I get this template error:

The following error occurred when attempting to evaluate this template:

Quote:

Parse error: parse error, unexpected '"', expecting ']' in c:\myISP\LPSForum\includes\adminfunctions_template .php(3096) : eval()'d code on line 66

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
This is what the last few lines of code that my template shows:

Quote:

<if condition="$show['forumlink']">
<td class="alt1"><a href="forumdisplay.php?$session[sessionurl]f=$thread[forumid]">$thread[forumtitle]</a></td>
</if>
</if>
</if>
</if><if condition="can_moderate($thread['forumid']) AND $show['inlinemod']">
<td class="alt1" align="center"><if condition="$show['threadmoved']">-<else /><input type="checkbox" id="inlinemod_$thread[threadid]" name="inlinemod_$thread[threadid]" value="1" onclick="select_item($thread[threadid], this);" /></if>
</if>
</tr>
Can someone tell me what I need to change to fix this?

honestjohn 03-15-2005 12:39 AM

I've got what seems like a simple error, but I'm trying to tag where it's coming from.

If I try to moderate a thread, I get a "you do not have permission" page - but when performing a close, it actually soft deletes every post in the thread.

If I try to moderate posts, I get a "No Thread specified" message, but it soft deletes the posts.

Any idea what's going on?
Otherwise excellent mod idea, probably the one thing I missed the MOST moving from phpbb.

honestjohn 03-15-2005 07:25 PM

Re: Above

It's basically throwing permissions errors for every action, although it also has odd consequences.
I'm going through the thread, and I see a few people with the same problem. Any idea what might be causing it? Possibly custom permissions that are a bit too far off from the stock setup?

I'll try to install it on a stock board, and see if perhaps it was that, but I don't see why permissions should be a problem, as other mods use them without a hitch...

I've tested all permutations of permissions, nothing happening.
I suppose I will go through the code and try to figure out why it's throwing all these errors (but performing the action, sometimes).

rob_daemon 03-16-2005 12:00 AM

I have no idea what would be causing random things to happen. What version of PHP do you have and do you have register_globals on?

honestjohn 03-16-2005 12:57 AM

4.3.10 GLOBALS on 3.0.7 vb install - a few mods, but nothing drastic and nothing I beleive yould be interefering.

It looks fundamentally like some of the permission checks are going wrong... because it executes some of the instructions, but always tosses a "no thread specified" or "no permissions", regardless of whather the action fails or not.

I have a funny feeling it's more work correcting this than it's worth?

honestjohn 03-16-2005 05:43 PM

It was related to another javascript applet running on the site - all fixed!


All times are GMT. The time now is 12:45 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.03377 seconds
  • Memory Usage 1,962KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_html_printable
  • (21)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
  • (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