Tutorials Blog
Hosting
Software
Dolphin Tips
Help Forums FREE Mods
Licensing
People
Donate
News
Search
  •  
 
 
 
Quote12.13.2008 09:280 people like thisLike
 

Whats the trick to getting the forum spy on your mainpage?

Right now i have the Forum rss feed displayed on main page but is really basic.

I like how you have yours setup here.

Care to share the secret?

Quote12.13.2008 17:270 people like thisLike
 

Ok i found the mod you used here on this site.

I cant get to work for the life of me.  It sits there saying refreshing.

In the cc_ajax_spy.js file i change as instructed to:

// CHANGE 'SITEURL' TO YOUR SITE!  Read the install text.
var extern_query='http://www.nudecrave.com/cc_forum_spy.php?show=3&length=50&mlength=165&rnd='+rnd;

In the admin/builders/hompage i created the new html block and added this code:

<p>
<script src="/inc/js/cc_ajax_spy.js" type="text/javascript" language="javascript"></script>
</p>

Also tried this code there aswell.

<p>
<script src="http://www.nudecrave.com/inc/js/cc_ajax_spy.js" type="text/javascript" language="javascript"></script>
</p>

If you visit the above link:

http://www.nudecrave.com/cc_forum_spy.php?show=3&length=50&mlength=165&rnd=

It works fine??

Seems it wont just display in the block?

Any ideas?

Been fighting this issue all day and finally outa idea's :(

Quote12.13.2008 18:550 people like thisLike
 

Hope to get some help on this one.

I have pulled all my hair out now!

Its just to simple to go wrong....... 

Could it be a server issue?

I just cant figure out why its not working...........errrrrrrrrrrrr

 

Quote12.13.2008 23:160 people like thisLike
 

When you add the code to the block in your admin panel do not paste it into the the editor. Be sure to use the html button in the upper right corner of the editor. When you click on the html button, a new window opens. Paste the code into the new window. Click save/update. Then save again. Do not worry if you see //--// like that in the editor after pasting and updating. Just save the changes to the html block. Then refresh your page.

Quote12.14.2008 19:510 people like thisLike
 

After closer examination of your site I noticed the following that is most likely the cause of your problem. This should be a quick and easy fix.

Your site is set up in a manner that the www prefix forwards/redirects or whatever we want to call it to omit the www prefix.

If I type http://www.nudecrave.com it forwards/redirects to http://nudecrave.com

So this means you need to omit the www part in your code whether here for the forum spy modification or for the header/block modification.

Any code or changes you are asked to change to yoursite.com be sure you do not use the www part. Only http://yoursite.com

So in this one you would use for example:
<script src="http://nudecrave.com/inc/js/cc_ajax_spy.js" type="text/javascript" language="javascript"></script>

Make sure you do update all reference in the install to reflect this.

Same with the header/block code you were working on.

Quote12.15.2008 09:540 people like thisLike
 

That fixed the issue.

Thanks again :)

Quote12.24.2008 14:270 people like thisLike
 

On a Related Subject, A forum I frequented just switched over to orca.  Is there anyway to prevent Forum Spy from picking up posts in Private groups and still let it display posts from Public groups?

Quote12.25.2008 23:030 people like thisLike
 

I could see where some would like the private ones to show up to sort of spark the interest of others to sign up or become a member that would allow them to see the rest of the private area.

Other forums specifically use a hidden private area to communicate with other admins and moderators, and the general public is not allowed to see this area.

I don't know of any simple fast solution as it seems both public and private are stored in the same database table. It just looks for the last 10 and displays them whether public or private. Possibly the table could be sorted or limited by "public" only.

Quote12.28.2008 17:470 people like thisLike
 

gameutopia, what about using something like:

if ( !( $logged['admin'] = member_auth( 1, false ) ) )
if ( !(
$logged['member'] = member_auth( 0, true ) ) )
if ( !(
$logged['aff'] = member_auth( 2, false )) )
$logged['moderator'] = member_auth( 3, false );

Quote12.29.2008 21:550 people like thisLike
 

That would work great for blocking guests from viewing the forum, but I don't think it would do it for preventing forum spy from showing private posts without more alterations.