vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Add-On Releases - vBulletin-Yellow Pages with advertising management (https://vborg.vbsupport.ru/showthread.php?t=256995)

Vossi 01-15-2011 05:30 AM

Adding the widget:

Admincp -> 'vBulletin CMS' -> 'Widgets' -> 'Create new widget'

Widget type: PHP Direct Execution
Title: Yellow Pages
Description: Shows random premioum entries from vBulletin-Yellow Pages in CMS

Then 'Save' the widget and you'll see the list with the widgets alreday available in your forum. At the right side from 'Yellow Pages' you klick 'Configre' and enter the follwing information:

'Enter Php Code, in the form "$results = "':
PHP Code:

global $vbulletin$vbphrases$show$stylevar;
include(
DIR "/vbyellowpage/widgets/widget_premium_add_banner.php"); 

Template Name: widget_premium_add_banner
Cache refresh time (minutes): 5

Then 'Save' the configuration. The file to include (DIR . "/vbyellowpage/widgets/widget_premium_add_banner.php") can be found in the vBulletin-CMS folder in the ZIP-file to this product.

Now you can place the widget with the Layout Manager.

iRafa 01-15-2011 09:17 AM

One question:

Is posible make a category search which include a extra fields (of category) options. This is like a search in which you put category and options and then, it return the results. I search like a microClasiffieds.

Thus, I think that is good offer the posibity to show more information (even images) in template displaythreat and not only advertising´s title. Not all information in first post of threat.

I think too that will be important the pay option for de advertisers (Paypal or other)

I am very interesting in this mod, Thanks

Mark4865 01-20-2011 03:12 PM

Just installed thanks for the great work Vossi

Mark4865 01-21-2011 09:56 AM

Hello,

Is there any EASY way to not display the created by and created at info.

Also in the catagory main section it shows I have a entry under a certain section, if I go to that section it shows the entry but also shows a web address in brackets in the title how can I remove this web address.

Lastly, if I click on the catagory alphabet listing above this specific entry and go to the same section if shows no entries listed under that section when I actually have one, any ideas??

All help greatly appreciated, fantastic mod

Vossi 01-21-2011 11:46 AM

Quote:

Originally Posted by Mark4865 (Post 2152316)
Is there any EASY way to not display the created by and created at info.

Actually you can change the template which is responsible for this. Have a look at 'vbyellowpage_showentry' and delete the specific data there.
Quote:

Originally Posted by Mark4865 (Post 2152316)
Also in the catagory main section it shows I have a entry under a certain section, if I go to that section it shows the entry but also shows a web address in brackets in the title how can I remove this web address.

H?? You got a screenshot for me=
Quote:

Originally Posted by Mark4865 (Post 2152316)
Lastly, if I click on the catagory alphabet listing above this specific entry and go to the same section if shows no entries listed under that section when I actually have one, any ideas??

Well, it then shows all the entries which start with the character you habe choosen. The rest of the entries dont get shown then.

your24hourstore 01-21-2011 12:18 PM

I get a
Code:

Warning: Invalid argument supplied for foreach() in [path]/vbyellowpage.php on line 1410
seems to be connected to the three check box's at the bottom of setting up a category, must need something , is gone when i unchecked them all

Vossi 01-21-2011 12:28 PM

If you allow userdefined entryfields and dont define any, then this error appears. I might do a check for this in the next version.

your24hourstore 01-21-2011 12:50 PM

1 Attachment(s)
OK i see , there is one more little thing, seem that when You make the AD, you get a 3 lines the first line says
title then
postal address for google
and link are not aligned with the right entry box's
and took me a minute to figure out way they didn't work seems like title to be pushed down with the rest instead of being on top

your24hourstore 01-21-2011 12:59 PM

great work I'm sure it will be a popular mod :>
nominated

your24hourstore 01-21-2011 01:03 PM

1 Attachment(s)
needs to look like this to avoid confusion


All times are GMT. The time now is 05:02 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.01455 seconds
  • Memory Usage 1,746KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete