vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - Classifieds Featured in Forumhome or vBa (https://vborg.vbsupport.ru/showthread.php?t=154338)

tcs 08-04-2007 10:00 PM

Classifieds Featured in Forumhome or vBa
 
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

Quote:

Originally Posted by StuntFactoryX (Post 1310151)
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

Quote:

Originally Posted by Pirate45 (Post 1310587)
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?


All times are GMT. The time now is 12:51 AM.

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.01169 seconds
  • Memory Usage 1,724KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete