PDA

View Full Version : Miscellaneous Hacks - Classifieds Featured in Forumhome or vBa


tcs
08-04-2007, 10:00 PM
This installs all the need code as a product in vBulletin and a module in vBAdvanced CMPS as oppose to the current issue of having to make a php file and edit your php files.

No files to edit no php files to make.

It uses a standard hook at you global start. If anyone has a better hook location for this please let me know.

Read the instrustions included.

Add product product-photopost_classifieds.xml
Add $classifiedsfeature where you want (Forumhome under $navbar works)

If you Have VBA CMPS upload the VBA_featuredclassifieds.module in you Admincp. Set the location and your done.

I have my Classifieds are in my /forums/classifieds/ folder. If yours is elsewhere let me know and I will try to help.

***** Removed *****

iogames
08-05-2007, 01:21 AM
;) _

beduino
08-05-2007, 01:56 AM
we can use google adsense?
tks in advance
beduino

FreshFroot
08-05-2007, 03:01 AM
hmm interesting... could be useful

StuntFactoryX
08-05-2007, 05:41 AM
just a suggestion... if you were to duplicate the inc_ads.php or whatever the file was called and rename it to something like inc_cmps.php and rename the varible $classifiedsfeature to something like $classifiedscmps this would be really cool for the users that want to be able to use this hack on cmps and also be able to use the forum home hack too. thats what i did on my site but i had to do it all manauly. the reason i suggest this is because on my forum home i have the inc_ads.php making photo thumbs 5 across random. and on my vbadvanced i have 3 vertical newest.

i really like the plug in idea. nice hack :)

jerrygad
08-05-2007, 12:33 PM
Nice one. Thanks for sharing :)

tcs
08-05-2007, 06:50 PM
just a suggestion... if you were to duplicate the inc_ads.php or whatever the file was called and rename it to something like inc_cmps.php and rename the varible $classifiedsfeature to something like $classifiedscmps this would be really cool for the users that want to be able to use this hack on cmps and also be able to use the forum home hack too. thats what i did on my site but i had to do it all manauly. the reason i suggest this is because on my forum home i have the inc_ads.php making photo thumbs 5 across random. and on my vbadvanced i have 3 vertical newest.

i really like the plug in idea. nice hack :)

I see what you mean. Will work that up for you by next weekend.

Pirate45
08-05-2007, 07:17 PM
Looks great. Afraid I can't get it to work but looks like a much needed feature.

tcs
08-06-2007, 02:19 AM
Looks great. Afraid I can't get it to work but looks like a much needed feature.

What error or you getting. I am curious if the DIR . picks up currently on most configurations.

ArchangelX
09-06-2007, 08:12 AM
Is there anyway to have this show up on Sub-Forums?