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)
-   -   Add-On Releases - Photopost Classifieds Recent Ad Block on Forumhome (https://vborg.vbsupport.ru/showthread.php?t=134098)

JimmyN 12-15-2006 10:00 PM

Photopost Classifieds Recent Ad Block on Forumhome
 
Hi everyone,
this is my first mod and i though it will really help people out.
Basicly it shows either random, most_viewed or latest and can show a custom set of ads across in either vertical or horizontal position. It uses a external file that comes included with your Photopost Classifieds install.

How to install

1)install the plugin
2)tempate modification (optional in custom places)

template FORUMHOME find this code or other place you would like

find:
Code:

$navbar
right under this place:
Code:

$classifiedsfeature
Note: Make sure this plug in is enabled. It should automaticly install the template code so you will not have to do it, but if not follow the instructions above.

Remember Yoy may modify options in the inc_features.php (this is a PhotoPost file).

In that file you may set the layout, how many ads to show, and what type e.g. random, recent etc

Please let me know if you have any questions, ideas or need help

Credit: www.oz-consolemods.net

Please click Install, and tell me if you like it
Paypal donations welcome :)

regards
Jimmy

JimmyN 12-16-2006 05:54 AM

First post reserved, waiting for feedback :)
thanks

Sunstroke 12-16-2006 11:40 AM

Is this for photopost pro or just vbgallery?

It would be awesome if it were pro.

RaceJunkie 12-16-2006 02:28 PM

Quote:

Originally Posted by Sunstroke (Post 1139689)
Is this for photopost pro or just vbgallery?

It would be awesome if it were pro.

This is for the Classifieds not Gallery..

RaceJunkie 12-16-2006 03:18 PM

I get the following error at the top of my forums.
Code:

Warning: Unknown(./classifieds/inc_ads.php): failed to open stream: No such file or directory in /index.php(536) : eval()'d code on line 12

Warning: Unknown(./classifieds/inc_ads.php): failed to open stream: No such file or directory in /index.php(536) : eval()'d code on line 12

Warning: (null)(): Failed opening './classifieds/inc_ads.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /index.php(536) : eval()'d code on line 12


RaceJunkie 12-16-2006 03:32 PM

Is it possible to use this with the Right side column on forum home only mod?

JimmyN 12-16-2006 08:12 PM

Quote:

Originally Posted by Sunstroke (Post 1139689)
Is this for photopost pro or just vbgallery?

It would be awesome if it were pro.

This mod is for the Classifieds, i will make one for gallery also very soon

Quote:

Originally Posted by RaceJunkie (Post 1139778)
I get the following error at the top of my forums.
Code:

Warning: Unknown(./classifieds/inc_ads.php): failed to open stream: No such file or directory in /index.php(536) : eval()'d code on line 12

Warning: Unknown(./classifieds/inc_ads.php): failed to open stream: No such file or directory in /index.php(536) : eval()'d code on line 12

Warning: (null)(): Failed opening './classifieds/inc_ads.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /index.php(536) : eval()'d code on line 12


Racejunkie, Is it still not working?

Quote:

Originally Posted by RaceJunkie (Post 1139788)
Is it possible to use this with the Right side column on forum home only mod?

yes you may use it else where, just use the $classifiedsfeature in the template, though you will need to edit the inc_features.php file so the ads go verticaly.

Thanks

Edit: for anyone using the classifieds in a different folder or location other then (./classifieds/inc_ads.php) you will need to edit the plugin to change the location. Post here and ill help you with it.

RaceJunkie 12-16-2006 08:29 PM

Quote:

Originally Posted by JimmyN (Post 1139915)

Racejunkie, Is it still not working?



yes you may use it else where, just use the $classifiedsfeature in the template, though you will need to edit the inc_features.php file so the ads go verticaly.

Thanks

Edit: for anyone using the classifieds in a different folder or location other then (./classifieds/inc_ads.php) you will need to edit the plugin to change the location. Post here and ill help you with it.

No still not working.
My Classifieds folder is in my public_html folder

This is what I am using for my side colum right side. I have a vertical one on my portal page so the php file should be set correctly.

Code:

<!-- Classifieds -->
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
        <tr>
                <td class="tcat">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('my_table')"><img id="collapseimg_my_table3" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_my_table3].gif" alt="" border="0" /></a>
                        Classifieds
                </td>
        </tr>
</thead>
<tbody id="collapseobj_my_table3" style="$vbcollapse[collapseobj_my_table3]">
        <tr>
                <td class="alt1">
                        $classifiedsfeature
                </td>
        </tr>
</tbody>
</table>
<!-- Classifieds -->

www.localracechat.com

JimmyN 12-16-2006 08:41 PM

try takeing off any code you added (forum side), then uninstall the plugin and install it again.
Then check if it comes up on the top under the navbar.

If you get any code errors let me know

From there you can change the location lattter, just need to test that it works that way.

thanks

RaceJunkie 12-16-2006 08:49 PM

Quote:

Originally Posted by JimmyN (Post 1139937)
try takeing off any code you added (forum side), then uninstall the plugin and install it again.
Then check if it comes up on the top under the navbar.

If you get any code errors let me know

From there you can change the location lattter, just need to test that it works that way.

thanks

I created a new style with no template edits and still get same error


All times are GMT. The time now is 03:07 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.01058 seconds
  • Memory Usage 1,749KB
  • 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
  • (5)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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