vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced Links Directory > vBa Links Directory v1.0 Support > Modifications

Reply
 
Thread Tools Display Modes
  #21  
Old 03-12-2006, 04:39 PM
geoff's Avatar
geoff geoff is offline
Cannabalistic Lemur
 
Join Date: Sep 2005
Location: Oklahoma
Posts: 162
Default Re: Add Links Awaiting Moderation to Your vBa CMPS Quick Moderation Moudle

ok...ty for that tip.

btw, changing links to gallery did not work for the gallery quick moderation deal...heh..just FYI
Reply With Quote
  #22  
Old 03-21-2006, 02:20 AM
absolutepunknet absolutepunknet is offline
Banned
 
Join Date: Mar 2004
Posts: 61
Default Re: Add Links Awaiting Moderation to Your vBa CMPS Quick Moderation Moudle

adv_gallery_images

is what you need to change it too..
Reply With Quote
  #23  
Old 07-10-2007, 05:11 PM
guttormson guttormson is offline
Member
 
Join Date: Mar 2005
Posts: 62
Default Re: Add Links Awaiting Moderation to Your vBa CMPS Quick Moderation Moudle

I use vb 3.6.7 and vb cmps 3 and I get an database error when attempting this hack.

Can this hack be done in my setup?
Reply With Quote
  #24  
Old 07-11-2007, 12:57 PM
guttormson guttormson is offline
Member
 
Join Date: Mar 2005
Posts: 62
Default Re: Add Links Awaiting Moderation to Your vBa CMPS Quick Moderation Moudle

The instant I add the above code it breaks my entire site so I have to remove it ASAP. Maybe this solution has changed since vb 3.6?

Anyone know?
Reply With Quote
  #25  
Old 04-12-2008, 11:08 AM
Ramses Ramses is offline
Senior Member
 
Join Date: Aug 2005
Posts: 249
Default Re: Add Links Awaiting Moderation to Your vBa CMPS Quick Moderation Moudle

Fyi this is still working on 3.7rc1 / cmps 3 / vba links 2.
Add into the moderation.php file:
PHP Code:
$links $db->query_first("SELECT COUNT(*) AS count FROM " TABLE_PREFIX "adv_links WHERE valid = 0"); 
And as Gary Bolton already mentioned above add into the vba_portal_moderation template:
PHP Code:
<div><a href="$vboptions[bburl]/$modcpdir/vba_links.php?do=validate" target="_blank">Links</a> ($links[count])</div
Reply With Quote
  #26  
Old 09-11-2008, 04:00 PM
natas natas is offline
Junior Member
 
Join Date: Aug 2004
Posts: 25
Default

This is not working for VBA Links 3. The template edit is wrong. 3.0 no longer uses vba_links.php
Reply With Quote
  #27  
Old 09-12-2008, 11:33 AM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default

If you're running v3.0.0 then you should be able to use this for your link:

"$vboptions[vba_links_homeurl]/moderate.php$session[sessionurl_q]"
Reply With Quote
  #28  
Old 10-09-2010, 02:21 PM
adwade adwade is offline
Member
 
Join Date: Aug 2006
Location: Tennessee
Posts: 41
Default Updated CODE for newer versions...

Didn't work for me, because the previous 'quoted' CODE above was for such OLD versions of both vB's CMPS & vBLinks Add-On. However, I kept reading the thread and trying different things until I stumbled across the right stuff... So thought I'd post it here for anyone else interested in doing such. I'm still surprised this isn't a built into the Quick Moderation Module of vBa's CMPS by now.


The Thread's original post, revised for versions: vBulletin (v3.8.6PL1), CMPS (3.2.2) & vBLinks (3.3.0) should read:

First, open your /forum/modules/moderate.php FILE and look for:
Code:
eval('$home["$mods[modid]"][\'content\'] = "' . fetch_template('adv_portal_moderation') . '";');
Right Above that line, ADD:
Code:
    $links = $db->query_first("SELECT COUNT(*) AS count FROM " . TABLE_PREFIX . "adv_links WHERE valid = 0");
Next, in AdminCP open your 'adv_portal_moderate' Template and find:
Code:
<div<if condition="$users[count]"> style="font-weight: bold"</if>><a href="$admincpdir/user.php?$session[sessionurl]do=moderate" target="_blank">$vbphrase[members]</a> ($users[count])</div>
Then, just below it add the following code segment:
Code:
<div><a href="$vboptions[vba_links_homeurl]/moderate.php$session[sessionurl_q]" target="_blank">Links</a> ($links[count])</div>
</td>
<td class="thead" align="center">$links[count]</td></tr>
<tr><td class="alt1" width="100%">
Thanxx to EVERYone who chimed-in and added snippets of revised CODE along the way. Through studying those examples, I figured out what I needed to make it work for our versions of software.

MODERATOR: Feel free to MOVE this post to a different forum if you feel it fits better there, I couldn't turn up this information in the v2 or v3 sections for vBa Links or CMPS.
Attached Images
File Type: jpg Picture 4.jpg (14.3 KB, 0 views)
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Quick Moderation Module Kirby Feedback & Suggestions 0 01-16-2008 03:48 AM
Adding Links Awaiting Moderation to vBa CMPS Quick Mod Module adwade Modifications (version 3.x & 2.x) 2 09-21-2006 12:25 AM
Quick Moderation links have extra / eclectica Troubleshooting & Problems 2 02-09-2006 04:08 PM
'Active Users' links are 404. Also, 'Quick Moderation' not working. Turboface Troubleshooting / "How do I..." Questions 2 11-28-2004 11:55 PM
quick moderation module not showing members awaiting moderation Mont Bugs & Other Issues 6 08-05-2004 09:45 AM


All times are GMT -4. The time now is 02:30 AM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.