vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBadvanced CMPS (https://vborg.vbsupport.ru/forumdisplay.php?f=101)
-   -   vBadvanced CMPS - Old Support Thread (https://vborg.vbsupport.ru/showthread.php?t=73845)

SamirDarji 10-03-2004 10:24 AM

Check your paths to your images files...

jpt62089 10-03-2004 11:35 PM

I think i know what i am going to do!

do any of you know how to make .htaccess files?

I need to have this:

DirectoryIndex home.php

but just tcforums.net and not any of my sub domains... is this possible?

frage 10-04-2004 01:54 PM

my prob:

Quote:

Datenbankfehler in vBulletin 3.0.3:

Ungueltige SQL-Abfrage:
SELECT
userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid,
language.phrasegroup_calendar AS phrasegroup_calendar,
language.phrasegroup_adv_portal AS phrasegroup_adv_portal,
language.phrasegroup_postbit AS phrasegroup_postbit,
language.phrasegroup_global AS phrasegroup_global,
language.options AS lang_options,
language.languagecode AS lang_code,
language.charset AS lang_charset,
language.locale AS lang_locale,
language.imagesoverride AS lang_imagesoverride,
language.dateoverride AS lang_dateoverride,
language.timeoverride AS lang_timeoverride,
language.registereddateoverride AS lang_registereddateoverride,
language.calformat1override AS lang_calformat1override,
language.calformat2override AS lang_calformat2override,
language.logdateoverride AS lang_logdateoverride,
language.decimalsep AS lang_decimalsep,
language.thousandsep AS lang_thousandsep
FROM user AS user
LEFT JOIN userfield AS userfield ON (user.userid = userfield.userid)
LEFT JOIN usertextfield AS usertextfield ON (usertextfield.userid = user.userid)
INNER JOIN language AS language ON (language.languageid = IF(user.languageid = 0,
1, user.languageid))
WHERE user.userid = 1

mysql error: Unknown column 'language.phrasegroup_adv_portal' in 'field list'

can you help me?
thanks
frage

3DChipset 10-05-2004 03:06 PM

I was wondering... Where can I find just the "News Posting" section? This hack is cool, but all I need right now is the News portion. Where can I find that so I can add it to my own code for my news page?

frage 10-05-2004 06:09 PM

1.
create a _news_ forum in your forum via admincp
and in the admincp you will find the ID of this _news_ forum example 10
2.
in the
vba cmps
default you will find:
News Forum ID
The ID number of your default news forum. To display threads from more than one forum, enter a list of forumids seperated by commas. Example setting: 1,4,9
yours is "10"
thats all

3DChipset 10-05-2004 06:35 PM

I think you mis-read or maybe I didn't type it correctly. Basically what I'm doing is trying to get the "News Information" off of the cmps_index.php file. So I can use that code and put it in my own .php so it's custom taylored to my specific look of the site. I probably could find the appropriate tags, but on the top of the .php file I'm using what would I need to put up there so it would know that I'm reading off of the news forum?

h75 10-06-2004 09:49 AM

Hollii clicks Install :up:

http://halloo.de/portal.php

h75 10-06-2004 11:13 AM

i had an mysql-error in portal.php :ermm:

I changed News Forum ID and forgot to delete the , and clicked Save

Quote:

2,4,5,
I went back, deleted the , and everything is okay :surprised:

Now the Error:
Quote:

Datenbankfehler in vBulletin 3.0.3:

Ungueltige SQL-Abfrage:
SELECT IF(votenum >= 1, votenum, 0) AS votenum, IF(votenum >= 1 AND votenum != 0, votetotal / votenum, 0) AS voteavg,
thread.threadid, thread.title, replycount, postusername, postuserid, thread.dateline AS postdateline, thread.lastposter, thread.lastpost, IF(views<=replycount, replycount+1, views) AS views, forumid, post.postid, pagetext, allowsmilie

,thread.iconid AS threadiconid, iconpath AS threadiconpath
, avatarpath, NOT ISNULL(avatardata) AS hascustom, customavatar.dateline AS avatardateline, avatarrevision
, NOT ISNULL(subscribethread.subscribethreadid) AS subscribed
, attachment.filename, attachment.filesize, attachment.visible, attachmentid, counter, thumbnail, LENGTH(thumbnail) AS thumbnailsize
FROM thread AS thread
LEFT JOIN post AS post ON (post.postid = thread.firstpostid)
LEFT JOIN icon USING (iconid)
LEFT JOIN attachment AS attachment ON (post.postid = attachment.postid)
LEFT JOIN user AS user ON (user.userid = post.userid)



LEFT JOIN avatar as avatar ON (avatar.avatarid = user.avatarid)
LEFT JOIN customavatar as customavatar ON (customavatar.userid = user.userid)

LEFT JOIN subscribethread AS subscribethread ON (subscribethread.threadid = thread.threadid AND subscribethread.userid = '1')
LEFT JOIN deletionlog AS deletionlog ON (thread.threadid = deletionlog.primaryid AND type = 'thread')
WHERE forumid IN(2,) AND thread.visible = 1 AND thread.open != 10 AND deletionlog.primaryid IS NULL
GROUP BY post.postid
ORDER BY postdateline DESC
LIMIT 6
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND thread.visible = 1 AND thread.open != 10 AND deletionlog.

mysql error number: 1064

Datum: 06.10.2004 13:51:44
Skript: http://halloo.de/portal.php?
Referer:
Benutzername: H75
IP-Adresse: 195.24x.25x.2xx

h75 10-06-2004 02:21 PM

there is an error in templates.txt :nervous:
Code:

------------------------------------
calendar_smallmonth_day_other
------------------------------------

<!-- a single day from another month on the small calendars -->
<td class="smallfont"><em><if condition="$show['dontshowweek']">
<span class="smallfont">$day</span><else />$day</if></</em></td>

and after install in Template adv_portal_poll a </span> too much
Code:

<if condition="$bbuserinfo['usergroupid'] == 6">
<div class="smallfont">&raquo; <a href="$vboptions[bburl]/poll.php?$session[sessionurl]do=polledit&amp;pollid=$pollinfo[pollid]">$vbphrase[edit_poll]</a></div>
                        </if></span></td>
                        </tr>


DanCan 10-06-2004 05:31 PM

Quote:

Originally Posted by macker123
I seem to be getting the following error when I try to run the install script and same error when I goto my forum now:

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/myphotos/public_html/forum/includes/functions.php on line 1887

I have triple checked(literally), every single piece of code I was supposed to insert and it is all correct. I have also uploaded the files twice, with 2 different FTP programs to make sure they were uploaded correctly.

Can someone please help me solve this issue.

I've run into the same problem, and I have triple checked as well.

Now, I suppose it is Dreamweaver (which I am using) that is coursing the problem. In short, Dreamweaver corrupts the functions.php file.

Instead of editing the file in Dreamweaver, I have edited the functions.php file in notepad. I cut the content of the file into notepad, changed the required line, and pasted the (new) content back to the functions.php file.
Made sure that everything was ok, saved the functions.php file and uploaded it (again).

The problem is recurring.

This is what happens:

Line 1887 is supposed to read:
$debughtml .= " (<a href=\"" . htmlspecialchars_uni(SCRIPTPATH) . iif(strpos(SCRIPTPATH, '?') '?')'?')=== false, '?', '?','?','&amp;') . "tempusage=1\">Template Usage</a>) (<a href=\"" . htmlspecialchars_uni(SCRIPTPATH) . iif(strpos(SCRIPTPATH, '?') '?')'?')=== false, '?', '?','?','&amp;') . "explain=1\">Explain</a>)<br />\n";

When I open the functions.php file again, line 1887 has suddenly been changed to:

$debughtml .= " (<a href=\"" . htmlspecialchars_uni(SCRIPTPATH) . iif(strpos(SCRIPTPATH, '?') '?')'?')'?')'?')'?')=== false, '?', '?','?','?','?','?','&amp;') . "tempusage=1\">Template Usage</a>) (<a href=\"" . htmlspecialchars_uni(SCRIPTPATH) . iif(strpos(SCRIPTPATH, '?') '?')'?')'?')'?')'?')=== false, '?', '?','?','?','?','?','&amp;') . "explain=1\">Explain</a>)<br />\n";

This is problem that seems to be pretty frequent for a lot of us. Could someone please give a clear answer to solve the problem. Or is the portal software simply incompatible with Dreamweaver?


All times are GMT. The time now is 08:34 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.01660 seconds
  • Memory Usage 1,758KB
  • 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_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