vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   AdColumns v1.0 (https://vborg.vbsupport.ru/showthread.php?t=62348)

rocket98 03-28-2004 09:41 PM

I've tried various things to get the alignment working on this "NICE Addition"; however I was not able to get that down pat. I have visited some of the sites who have installed this code and each has the same problems noted in previous posts. I looked at the code from a page dump inside Golive and found all ending tags in the footer section Highlighted because each was out of alignment with the remaining code of the page.

Not sure how it can be done but it would be nice if your columns appeared below the Nav bar. That way the nav bar remains sized as intended and content falls below.

See enclosed pic for my suggestion.

Good hack, but it's turned off for now.

DaveLogic 03-29-2004 08:39 AM

Removed old version, tables etc and reinstalled but receive this error when trying to install..

Database error in vBulletin 3.0.0:

Invalid SQL:
INSERT INTO phrase (languageid, varname, text, phrasetypeid) VALUES(0, 'setting_adright_title', 'Advertisement "Right" Column Active', 5000)

mysql error: Duplicate entry 'setting_adright_title-0-5000' for key 2

mysql error number: 1062

joeychgo 03-29-2004 08:44 AM

i got the exact same thing jsut now!

ok he left out one query -

DELETE FROM `phrase` WHERE `varname` = 'setting_adleft_title' LIMIT 1;

Add that to the list of queries above - and redo them all -- then run the installer ---


See mangus -- IM learning! IM LEARNING!!!!!!!!!! :nervous:

DaveLogic 03-29-2004 08:56 AM

Quote:

Originally Posted by joeychgo
i got the exact same thing jsut now!

ok he left out one query -

DELETE FROM `phrase` WHERE `varname` = 'setting_adleft_title' LIMIT 1;

Add that to the list of queries above - and redo them all -- then run the installer ---


See mangus -- IM learning! IM LEARNING!!!!!!!!!! :nervous:

Many thanks...

joeychgo 03-29-2004 08:58 AM

im amazed at myself for figuring it out LOL

magnus 03-29-2004 03:25 PM

Quote:

Originally Posted by jeoworks
Will this work with the final version of vBulletin? The version after RC4?

Forgive me with terminology ;)

vBulletin 3.0.0

Thanks.

Yes, there should be no problem with vB 3.0.0 "Gold".

magnus 03-29-2004 03:26 PM

Quote:

Originally Posted by rocket98
I've tried various things to get the alignment working on this "NICE Addition"; however I was not able to get that down pat. I have visited some of the sites who have installed this code and each has the same problems noted in previous posts. I looked at the code from a page dump inside Golive and found all ending tags in the footer section Highlighted because each was out of alignment with the remaining code of the page.

Not sure how it can be done but it would be nice if your columns appeared below the Nav bar. That way the nav bar remains sized as intended and content falls below.

See enclosed pic for my suggestion.

Good hack, but it's turned off for now.

That's the beauty of templates, you can put things wherever you want. Just change the HTML code and place it below $navbar and you're set.

heynurse 04-03-2004 07:28 AM

Magnus,

Unfortunately, this is still not taking care of my spacing problem, thanks for all your help trying to get this figured out. :ermm: I guess I'll keep watching this thread, if anyone figures it out, please let me know what it was to fix it.

Does anyone have this working with proper alignment on a different styles other than the default style?

Quote:

Originally Posted by magnus
heynurse,

Here is your problem:
HTML Code:

                <div class="page" style="width:95%; text-align:left">
That needs to be "width:100%". You can change it in your Stylevars in the AdminCP.


pcalloway 04-03-2004 09:52 PM

I'm trying to do the edit but I don't find anything like this in my global.php file:
Code:

        #######################
        eval('$header = "' . fetch_template('header') . '";');
        #######################

I'm running vBulletin 3.0.0 Release Candidate 3

magnus 04-04-2004 06:39 PM

Quote:

Originally Posted by heynurse
Magnus,

Unfortunately, this is still not taking care of my spacing problem, thanks for all your help trying to get this figured out. :ermm: I guess I'll keep watching this thread, if anyone figures it out, please let me know what it was to fix it.

Does anyone have this working with proper alignment on a different styles other than the default style?

I don't understand, if I take your showthread.txt output file, modify that line to read width:100%, it works fine. Are you positive you changed it correctly?

magnus 04-04-2004 06:40 PM

Quote:

Originally Posted by pcalloway
I'm trying to do the edit but I don't find anything like this in my global.php file:
Code:

        #######################
        eval('$header = "' . fetch_template('header') . '";');
        #######################

I'm running vBulletin 3.0.0 Release Candidate 3

While I haven't personally tested this with RC3, I see no reason for you not to have that line.. after all, without it, you wouldn't have a header. Try searching for just:

PHP Code:

$header "' . fetch_template('header') 


joeychgo 04-04-2004 07:03 PM

for what its worth mangus, i have the exact same problem. -- it only seems to be on the thread itself.........

magnus 04-04-2004 09:16 PM

Quote:

Originally Posted by joeychgo
for what its worth mangus, i have the exact same problem. -- it only seems to be on the thread itself.........

joeychgo, apply the same fix used to repair your FORUMHOME when you had this same problem.

dlam2k 04-10-2004 05:49 PM

I use VBB 3.0 Gold version with Xamira style, I don't know why the Ad column doesn't show ! Please help me

My link is http://69.93.39.242/~svbreme/forum/
(Sorry, I'm updating DNS)

magnus 04-10-2004 09:46 PM

Quote:

Originally Posted by dlam2k
I use VBB 3.0 Gold version with Xamira style, I don't know why the Ad column doesn't show ! Please help me

My link is http://69.93.39.242/~svbreme/forum/
(Sorry, I'm updating DNS)

I'm going to go ahead and just guess that you didn't install the templates. Verify they exist, and let me know.

dlam2k 04-11-2004 02:49 AM

I installed.
Please click to my link

TheMusicMan 04-11-2004 12:54 PM

I have vB 3.0 Gold and have installed this without any glitches at all. This is the first Mod/Hack I have tried to install using vB and I must say I am delighted with how easy it was to do.

I have also tested it using phpAdsNew to delivery banners within the new columns... all works just fine. I will be using it on my boards.

I have yet to launch my boards as I currently have a moderately busy phpBB2 forum that I am waiting to migrate across to vB3 - so I am only using them for my learning of vB3 and they really don't look good at all. However, if anyone wants to see, PM me and I will be happy to help.

John

mantra 04-13-2004 11:32 AM

This worked great for me, however, is there anyway you can have it appear only on the forum home page, instead of all pages ??

Willnot 04-13-2004 03:38 PM

Any ideas on how to insert an RSS feed into it?

thx

magnus 04-14-2004 12:49 PM

Quote:

Originally Posted by mantra
This worked great for me, however, is there anyway you can have it appear only on the forum home page, instead of all pages ??

Well, with the way it's setup. No. You would have to do a bit of editing.

magnus 04-14-2004 12:50 PM

Quote:

Originally Posted by Willnot
Any ideas on how to insert an RSS feed into it?

thx

Sure. Go grab a copy of Carp RSS and use that. You can assign the output in the PHP include templates, then call it in an AdColumn box. :)

poliveira 04-15-2004 09:30 PM

Although the columns space is visible, none of the content is?

I have not modified the templates, just the default LEFT RIGHT, if I copy out the template content and create a new page the content is visible. On the forums it is not??

Any ideas

magnus 04-15-2004 10:55 PM

Quote:

Originally Posted by poliveira
Although the columns space is visible, none of the content is?

I have not modified the templates, just the default LEFT RIGHT, if I copy out the template content and create a new page the content is visible. On the forums it is not??

Any ideas

Err.. if you can see the box, you would have to be able to see the content. It's all included in the same template?! Perhaps the font color is set to transparent or equivalent to your background color? Try viewing the source.

ConqSoft 04-19-2004 11:22 AM

Quote:

Originally Posted by magnus
heynurse,

Here is your problem:
HTML Code:

                <div class="page" style="width:95%; text-align:left">
That needs to be "width:100%". You can change it in your Stylevars in the AdminCP.

Mine's 100% too, and I have the same display issues. :ermm:

Cyn 04-24-2004 03:30 PM

Quote:

Originally Posted by drumsy
I've still got problems with this, but it's alignment problems now. If I set this up, I've put some PhpAdsNew code in there, and when I go into a forum, it displays fine, but when I open up a thread, it squishes the individual posts a little thinner than normal. I've even removed the code and left the template blank like it was originally and it still does it. Any ideas?

I had a similar problem. In a Reply or post new thread window the smilies were misaligned - sort of pushed into the ad column area and those in that area not visible. I tried all of the suggestions and fixes offered by magnus and nothing worked.

Then, just as a thought, I set viewable smiles to 5 per row and that resolved it. :)

Just thought I'd share my fix for others who may have the problem.

Great hack!!

joeychgo 04-28-2004 06:55 PM

How do I lower the top of the column? I would like the ad column to start below the navbar..................

magnus 04-28-2004 06:58 PM

Quote:

Originally Posted by joeychgo
How do I lower the top of the column? I would like the ad column to start below the navbar..................

Use [high]<br />[/high] before the code.

joeychgo 04-29-2004 11:10 AM

Quote:

Originally Posted by magnus
Use [high]<br />[/high] before the code.



I ahve that at the top of the code already. I tried adding several more and while the ad column started lower, the navbar didnt go all the way across - it just left blank space.........


WHat im looking to do is have the navbar all the way across and have the ad column begin even with the block below -- here is what i have now....

Rick Sample 04-29-2004 06:40 PM

Any progress on version two? I'd be willing to be the first to betta test it for ya :)

In either version, will you be able to add links or pics easily or will it be kind of hard? Also, will the colum with be adjustable, and lastly can you add like a few titles. you know like car of the month, then under list the car of the month, the babe of the month, then sponsors.


let me know man, thanks


Edit* also, does anyone have any sample sites of what I'm talking about?

Steve F 04-29-2004 07:01 PM

Quote:

Originally Posted by joeychgo
WHat im looking to do is have the navbar all the way across and have the ad column begin even with the block below .

Yes that is something I would like to see too. Something to do with the header template? The adcolumn code inserted @ the end , maybe it should be included somewhere in between (tables) ?

Steve F 04-30-2004 06:10 AM

Ah sorry for my ignorance, it was discussed a few pages back......

I edited the FORUMHOME template rather than the header and placed the adcolumn code after $navbar.

Oleks 05-01-2004 05:32 PM

Hi,
I have a problem. I can see Right column and table, but can’t see left column.
Just a place for the left column, no table.

Advertisement Column(s), Left and right columns are “Active” though AdminCP > Advertisement Column(s).

Thank you.

joeychgo 05-05-2004 12:59 AM

Ok ---- Google is crabbin that registration pages can be seen with their ads. How do I condition ad colums to not be on such pages?

Spencer F. 05-07-2004 07:38 PM

Does this work for 3.0.1?

DaveLogic 05-09-2004 01:44 PM

I fear not....Just upgraded to 3.01 - totally screwed upmy forum display and the settings in AdminCP have vanished....

Natch 05-09-2004 02:47 PM

Those who are finding that an Upgrade causes settings or templates to disappear,, just make sure that you are NOT inserting your new templates/phrases/settings into the MASTER group - these are there to cascade down into the custom groups etc - and are set back to their defaults each upgrade ... (This rule is especially important if you run with debug on!)

Coders take note - never install any settings into the MASTERs ...

camauonline1 05-09-2004 03:42 PM

How to uninstall Adcolumns ?

DaveLogic 05-09-2004 03:54 PM

Quote:

Originally Posted by Natch
Those who are finding that an Upgrade causes settings or templates to disappear,, just make sure that you are NOT inserting your new templates/phrases/settings into the MASTER group - these are there to cascade down into the custom groups etc - and are set back to their defaults each upgrade ... (This rule is especially important if you run with debug on!)

Coders take note - never install any settings into the MASTERs ...

Is there a way to remedy this if this was the case (which I believe is sowith me)...

lifesourcerec 05-10-2004 01:03 AM

The templates are uncached. How do I fix that?

lifesourcerec 05-10-2004 02:09 AM

Actually, is there a way to uninstall it (even from mysql database)? I guess I could open the php file and replace INSERT with DELETE.


All times are GMT. The time now is 06:49 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.01645 seconds
  • Memory Usage 1,841KB
  • 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_code_printable
  • (2)bbcode_html_printable
  • (1)bbcode_php_printable
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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