Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)

Reply
 
Thread Tools Display Modes
  #11  
Old 08-06-2003, 09:47 PM
Gary King's Avatar
Gary King Gary King is offline
 
Join Date: Jan 2002
Posts: 2,046
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My best bet is that you didn't modify the forumhome_forumbit_level1_nopost template properly.

If you have the default template, you should have the following after adding the advertisement part:

PHP Code:
<tr id="cat">
    <
td bgcolor="{ categorybackcolor }" colspan="6"><a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont color="{ categoryfontcolor }"><b>$forum[title]</b></normalfont></a>
    <
br><smallfont color="#000000">$forum[description]</smallfont></td>
    <
td bgcolor="{ categorybackcolor }" style="text-align: right;">$advertisement</td>
</
tr
That should work.

Don't forget to remove the spaces for { categorybackcolor } and { categoryfontcolor }

And oh, next time you post code, please use the [disable][/disable] tags
Reply With Quote
  #12  
Old 08-07-2003, 05:09 AM
Anat Anat is offline
 
Join Date: Jun 2002
Location: Israel
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Let me try the quoting system - I'm never sure how to go about it in programming forums....


This is what the forumdisplay_forumbit_level1_nopost looks for me now -

PHP Code:
<td style="text-align: right;">$advertisement</td>
<
tr id="cat">
    <
td bgcolor="{categorybackcolor}" colspan="6"><a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont color="{categoryfontcolor}"><b>$forum[title]</b></normalfont></a>
    <
br><smallfont color="{categoryfontcolor}">$forum[description]</smallfont></td>
</
tr
Reply With Quote
  #13  
Old 08-07-2003, 05:12 AM
Anat Anat is offline
 
Join Date: Jun 2002
Location: Israel
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Obviously I didn't remove the spaces so it shows the VBorg preferences. I see now that I put the advertisement part before the rest of it - maybe that's the problem? will try your version now.
Reply With Quote
  #14  
Old 08-07-2003, 05:15 AM
Anat Anat is offline
 
Join Date: Jun 2002
Location: Israel
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nope - still not working. The template now looks like this -

PHP Code:
<tr id="cat">
    <
td bgcolor="{categorybackcolor}" colspan="6"><a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont color="{categoryfontcolor}"><b>$forum[title]</b></normalfont></a>
    <
br><smallfont color="{categoryfontcolor}">$forum[description]</smallfont></td>
<
td style="text-align: right;">$advertisement</td>

</
tr
Reply With Quote
  #15  
Old 08-07-2003, 06:04 AM
Anat Anat is offline
 
Join Date: Jun 2002
Location: Israel
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Gary - where is the ad supposed to show on the page? Looking at the code it says forum description. I only have forum descriptions on the main page. I'd like the ad to show up at the top of the page on every forum page. Just where the ad shows up on my current version of the forums (ad for royal canine) - just to have it display different ads at different forums.
Reply With Quote
  #16  
Old 08-07-2003, 03:06 PM
Gary King's Avatar
Gary King Gary King is offline
 
Join Date: Jan 2002
Posts: 2,046
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 03:04 AM Anat said this in Post #15
Gary - where is the ad supposed to show on the page? Looking at the code it says forum description. I only have forum descriptions on the main page. I'd like the ad to show up at the top of the page on every forum page. Just where the ad shows up on my current version of the forums (ad for royal canine) - just to have it display different ads at different forums.
OK, now you've got me confused :speechless:

What I was trying to do was to help you have an advertisement for each category in the forumhome, to the right, like as you said, at the SitePoint forums.

You should specify WHICH ads you want to have at your forum.

You can see what I was trying to help you with in the attached screenshot.
Attached Images
File Type: jpg ads.jpg (19.4 KB, 0 views)
Reply With Quote
  #17  
Old 08-07-2003, 04:39 PM
Anat Anat is offline
 
Join Date: Jun 2002
Location: Israel
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oops - I see what you mean. I forgot that sitepoint also have the sponsorship on their forums main page. I was thinking about the way it looks on any of the forums pages themselves.

Like here -
http://www.sitepointforums.com/forum...php?forumid=16

And in the same forum here-

http://www.sitepointforums.com/showt...hreadid=121963

Sorry about the confusion maybe I should have been clearer about that.

Maybe I should just work with custom styles for each forum? I thought there might be some other solution. Some hack that would define $advertisement and allow me to put different ones for each one. I'm really not familiar with how VB works - if it were Links SQL the solution would be to define a new global. I don't know how this is done in VB (ok, ok, I don't know how it's done in LSQL either - just that is can be done )
Reply With Quote
  #18  
Old 08-09-2003, 07:33 AM
Anat Anat is offline
 
Join Date: Jun 2002
Location: Israel
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Gary, I wish to pay whoever can get this script working for me. I posted about it in the paid jobs forum. If you're still working on this - please read my post there first.

Thanks again!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:09 PM.


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.05155 seconds
  • Memory Usage 2,269KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (1)postbit_attachment
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete