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)
-   -   Forum Display Enhancements - Collapsable First Post using AJAX (or Last Post!) (https://vborg.vbsupport.ru/showthread.php?t=145187)

4x4 Mecca 04-20-2007 01:19 AM

I was doing that, and I replaced my default postbit legacy! lol, big error, I fixed it most of the way, but it was pretty customized. Thanks again for the mod magnus.

magnus 04-20-2007 01:29 AM

Quote:

Originally Posted by StuntFactoryX (Post 1231632)
ive been watching this for a few days. in the early posts there were reports of alot of database errors and i seen you guys working hard to sort out the bugs. the current version close to stable and bug free?

No bugs reported.

dbirosel 04-20-2007 02:10 AM

Quote:

Originally Posted by magnus (Post 1231639)
No bugs reported.

x2, it's running stable over at our forums.

Coders Shack 04-20-2007 02:17 AM

when making the manual edits i get:
Code:

The following error occurred when attempting to evaluate this template:

Parse error: parse error, unexpected '\"', expecting T_STRING or T_VARIABLE or T_NUM_STRING in /var/www/vhosts/site.com/httpdocs/forum/includes/adminfunctions_template.php(3596) : eval()'d code on line 1

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.

when i add these two:
HTML Code:

<tr <if condition="!in_array($forumid, $ajax_firstpost_excluded)">id="vbpostrow_$thread[<if condition="$vbulletin->options['ajax_firstpost_firstlast']">lastpostid<else />firstpostid</if>]"</if>>
HTML Code:

                                <if condition="!in_array($forumid, $ajax_firstpost_excluded)"><img id="vbpostimg_$thread[<if condition="$vbulletin->options['ajax_firstpost_firstlast']">lastpostid<else />firstpostid</if>]" src="$stylevar[imgdir_button]/expand.gif" onclick="return vbpost_get($thread[<if condition="$vbulletin->options['ajax_firstpost_firstlast']">lastpostid<else />firstpostid</if>])" onMouseOver="this.style.cursor='pointer';" /></if>

magnus 04-20-2007 02:32 AM

Quote:

Originally Posted by Coders Shack (Post 1231656)
when making the manual edits i get:

Did you disable Automatic Template Edits in the Collapsable First Post using AJAX Options from the AdminCP?

Coders Shack 04-20-2007 02:34 AM

Quote:

Originally Posted by magnus (Post 1231664)
Did you disable Automatic Template Edits in the Collapsable First Post using AJAX Options from the AdminCP?

yes

TheBlackPoet 04-20-2007 02:39 AM

this is tight baby!!! good job..... rated excellent!!

dbirosel 04-20-2007 03:09 AM

Since we viewed the thread by expanding the thread. Can we have the newpost icon removed to show that we already read it? Same for the newpost icon on the forum home? Also, removing the thread from the New Posts page.

Coders Shack 04-20-2007 06:00 AM

ok was still unable to make the manual edits so i found a way to get the replacements to work.

also the only thing this is missing i a way to make a reply straight from the forumdisplay :D

rjmjr69 04-20-2007 09:49 AM

Quote:

Originally Posted by Coders Shack (Post 1231656)
when making the manual edits i get:
Code:

The following error occurred when attempting to evaluate this template:

Parse error: parse error, unexpected '\"', expecting T_STRING or T_VARIABLE or T_NUM_STRING in /var/www/vhosts/site.com/httpdocs/forum/includes/adminfunctions_template.php(3596) : eval()'d code on line 1

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.

when i add these two:
HTML Code:

<tr <if condition="!in_array($forumid, $ajax_firstpost_excluded)">id="vbpostrow_$thread[<if condition="$vbulletin->options['ajax_firstpost_firstlast']">lastpostid<else />firstpostid</if>]"</if>>
HTML Code:

                                <if condition="!in_array($forumid, $ajax_firstpost_excluded)"><img id="vbpostimg_$thread[<if condition="$vbulletin->options['ajax_firstpost_firstlast']">lastpostid<else />firstpostid</if>]" src="$stylevar[imgdir_button]/expand.gif" onclick="return vbpost_get($thread[<if condition="$vbulletin->options['ajax_firstpost_firstlast']">lastpostid<else />firstpostid</if>])" onMouseOver="this.style.cursor='pointer';" /></if>

I'm getting this same exact problem after upgrading. I shut down the autotemplate edit as I had to the first time too. Any idea?

Is that the portion of the code that updates the post view amount? If not this feature is not working for me.


All times are GMT. The time now is 11:59 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.01665 seconds
  • Memory Usage 1,753KB
  • 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
  • (4)bbcode_html_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