vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   First post on every page of thread. (https://vborg.vbsupport.ru/showthread.php?t=93706)

cbr929rrerion 11-26-2005 12:48 AM

any way to change the color or a way to distinguish it as the initial post?

vBintense 11-26-2005 12:53 AM

Quote:

Originally Posted by nubian
...........................

.......................?
Quote:

Originally Posted by cbr929rrerion
any way to change the color or a way to distinguish it as the initial post?

That could be done by editing the template for firstpost.

nubian 11-26-2005 01:11 AM

Quote:

Originally Posted by insane-topics
.......................?


sorry, i thought i was replying to a thread of a similar hack.
so i edited my message.

kafi 12-07-2005 07:44 PM

Quote:

Originally Posted by nubian
sorry, i thought i was replying to a thread of a similar hack.
so i edited my message.

hi,
I am using this hack and I like it .-)

I want to have google adsense after first post. I have found that I may achieve this using this code:
<if condition="!$GLOBALS['FIRSTPOSTID']">
adsense here
</if>

But this is not working for me and it is probably because I use "first post on every..." hack.
Can you advise where to put this code?

Thank you .-)

kafi 12-10-2005 06:59 AM

Quote:

Originally Posted by kafi
hi,
I am using this hack and I like it .-)

I want to have google adsense after first post. I have found that I may achieve this using this code:
<if condition="!$GLOBALS['FIRSTPOSTID']">
adsense here
</if>

But this is not working for me and it is probably because I use "first post on every..." hack.
Can you advise where to put this code?

Thank you .-)

Nobody?

Stephen3 12-20-2005 07:49 PM

any demo ? work for 3.5.2?

DaFire 12-21-2005 08:01 AM

@kafi: just include the code into the new first post template

yayvb 12-23-2005 11:53 PM

I saw this asked a few times in this thread, but I didn't see it answered. I
was just noticing that no one can leave feedback using anyone's first post.
Is there a way around this?

yayvb 12-24-2005 04:51 PM

Ok so what I did was compare my postbit_legacy with my postbit_first.
Since postbit_first is the template for the 1st post, I put a piece of the reputation link code from postbit_legacy to postbit_first.

Can someone tell me if there will be any problems with what I've done?

In postbit_first I found:
Code:

<if condition="$show['reputationlink']"><a href="#" onclick="reputation($post[postid]); return false;"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" border="0" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" /></a></if>
and replaced it with this:
Code:

<if condition="$show['reputationlink']"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" border="0" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" /></a></if>

IrPr 01-05-2006 11:56 PM

workin on 3.5.3?


All times are GMT. The time now is 10:09 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.01313 seconds
  • Memory Usage 1,740KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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