Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks
Author Message
rickleigh
Worker
Worker



Joined: Jan 06, 2009
Posts: 183

PostPosted: Tue Jan 27, 2009 1:36 pm Reply with quote

I tried a search and didn't quit find what I’m looking for. I tried to see if I could look through some of the other pre-installed blocks that display random headlines etc. But, I just couldn't decipher it.

So, what I’m trying to do is make a block that shows for example: Random Ad listings from my classifieds DB or just the last few new listings will work to.

I was hoping to be able to figure this out on my own by looking at already made blocks and just changing the DB tables that was being pulled. But, being a noob to this still; I hope that someone here could help me out.

Thanks for any help on this,
Rick Leigh
 
View user's profile Send private message
jakec
Site Admin



Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom

PostPosted: Tue Jan 27, 2009 2:23 pm Reply with quote

Are the classifieds DB tables in the same DB as the nuke tables?
 
View user's profile Send private message
rickleigh







PostPosted: Tue Jan 27, 2009 2:47 pm Reply with quote

No, the classifieds are in its own DB.
 
jakec







PostPosted: Tue Jan 27, 2009 2:56 pm Reply with quote

Then changing the tables that a block pulls won't work because it will be trying to pull them from the wrong database.
 
rickleigh







PostPosted: Tue Jan 27, 2009 3:00 pm Reply with quote

could there be a config file like the one for the donate-o-meter to tell it which DB to pull from?
 
jakec







PostPosted: Tue Jan 27, 2009 3:22 pm Reply with quote

I don't know how the classfieds script works, but you would need to incorporate it into the block.
 
rickleigh







PostPosted: Tue Jan 27, 2009 3:37 pm Reply with quote

It was a purchased script so I'm not sure what I'm allowed to post without getting into trouble. the creator is no longer around to get support. Their forums are down and the site acts like its been taken over by melware so I don't want to post it for anyone to get their computer messed up.
 
spasticdonkey
RavenNuke(tm) Development Team



Joined: Dec 02, 2006
Posts: 1693
Location: Texas, USA

PostPosted: Tue Jan 27, 2009 3:40 pm Reply with quote

If you can setup an RSS Feed on your Classifieds site, you could display that feed in a block on your main site using nukePIE™
 
View user's profile Send private message Visit poster's website
jakec







PostPosted: Tue Jan 27, 2009 3:51 pm Reply with quote

OK it will be difficult for anybody to advise without seeing the code.

Have you considered using the Nuke Classifieds module?
 
rickleigh







PostPosted: Tue Jan 27, 2009 3:51 pm Reply with quote

thats an idea; ill have to look into that
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©