vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Major Additions - PhotoPlog: The Lite Gallery (https://vborg.vbsupport.ru/showthread.php?t=101368)

calorie 12-19-2005 10:54 PM

Go to vBulletin Options -> Message Posting Interface Options -> Enable Clickable Message Formatting Controls -> set the Full Editor to Disable Controls and try another comment. What do you get?

lordnex 12-19-2005 11:02 PM

same thing.
Can I complicate this?
When I post a comment with my test ID (which only is a regular registered user.. no additional groups or such) it still says "not available" but additionally when I edit the comment the comments I typed are still there.

I havent' edited any templates for this (they're all stock standard with the install) and I haven't added any of the other things people have put out for this either.

lordnex 12-19-2005 11:04 PM

Quote:

Originally Posted by calorie
You don't need to uninstall the product to upgrade. If you do uninstall the product, you'll tank your gallery.

I know.. I wanted to see if something botched or whatnot. I haven't really had much use out of it aside from tests from a few users and whatnot. So i'm not worried about losing data right now from unstalling-installing. I'm a good tester and good at breaking things. :D

calorie 12-19-2005 11:16 PM

In PhotoPlog's index.php find:
Code:

                                        $photoplog_rate_comment = photoplog_process_text($photoplog_rate_comment, $photoplog_catid, false, false);
And temporarily replace with:
Code:

echo htmlspecialchars_uni($photoplog_rate_comment)."<br /><br />";
                                        $photoplog_rate_comment = photoplog_process_text($photoplog_rate_comment, $photoplog_catid, false, false);
echo htmlspecialchars_uni($photoplog_rate_comment)."<br /><br />";

What do you see onscreen when you refresh a page with comments?

lordnex 12-19-2005 11:24 PM

Quote:

Originally Posted by calorie
In PhotoPlog's index.php find:
Code:

                                        $photoplog_rate_comment = photoplog_process_text($photoplog_rate_comment, $photoplog_catid, false, false);
And temporarily replace with:
Code:

echo htmlspecialchars_uni($photoplog_rate_comment)."<br /><br />";
                                        $photoplog_rate_comment = photoplog_process_text($photoplog_rate_comment, $photoplog_catid, false, false);
echo htmlspecialchars_uni($photoplog_rate_comment)."<br /><br />";

What do you see onscreen when you refresh a page with comments?



Ok screenshots.. text at the top of the page now. Has the actual comments for the 3 that i've left and the "not available" thing too

calorie 12-19-2005 11:30 PM

Okay, found it. Go to vBulletin Options -> Message Posting and Editing Options -> Maximum Characters Per Post -> set to a large positive number instead of zero. That'll take care of it for now. Will update the mod later tonight.

lordnex 12-19-2005 11:37 PM

Quote:

Originally Posted by calorie
Okay, found it. Go to vBulletin Options -> Message Posting and Editing Options -> Maximum Characters Per Post -> set to a large positive number instead of zero. That'll take care of it for now. Will update the mod later tonight.

Groovy. I'm glad that worked (and surprised no one else here caught that.. I guess i"m the only one that lets users type full length stories in their posts .. heh)

Thanks.. restored my index file and all is well. Now time to head out with the GF

indie 12-19-2005 11:44 PM

1. My maximum characters per post is at 10,000 and I still get "not available" when I start with BBcode.

2. How can I show a different header for this mod? When users go to this page I want the header to change. How would I call a second header and where would I pu that code? If you can help, thanks.

calorie 12-20-2005 01:58 AM

@lordnex: okay, upgrade to v.1.0.5.1 and that should do away with postmaxchars equals lastthreadchars equals zero related issues. Upgrade instructions, some quick FTPing is all, are in the new zip file.

@indie: see post428, do you see text with a smaller BBcode description? The fetch_template('header') call can be found in photoplog_output_error and photoplog_output_page of PhotoPlog's functions.php file.

indie 12-20-2005 02:49 AM

It says Not Available...

I want it to show at least part of that description.

Thanks!


All times are GMT. The time now is 05:36 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.02447 seconds
  • Memory Usage 1,745KB
  • 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
  • (4)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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