TIP: Click on subject to list as thread! ANSI
echo: elebbs_support
to: All
from: Coolmax
date: 2006-06-22 12:33:08
subject: RE: EleBBS: Eleweb PAS Question

* EleBBS Support List

 And i get 

*** Errors encountered during compile: 

    - Error 45: Invalid variable reference

 

 

342  If web_IsLoggedOn then

  344  Begin

  344   web_ShowHtmlFile('blocks/members/main_left.htm');

 ****                  ^45-----------------------------

  344  End

  344  Else

  344  Begin

  345   web_ShowHtmlFile('blocks/guests/main_left.htm');

 ****                  ^45----------------------------

  345  End;



it doesnt know what "web_showhtmlfile" is :)

 

 

-- Coolmax

 

 

 

-------Original Message------- 

 

From: Michael Preslar 

Date: 06/22/06 12:15:16 

To: elebbs{at}thebbs.org 

Subject: RE: EleBBS: Eleweb PAS Question 

 

* EleBBS Support List 

 

Cut from your post just now: 

 

ShowHtmlFile(HTML_main_leftg_tpl); 

 

Cut from my original reply, which quoted your original code snippets: 

 

Web_ShowHtmlFile('blocks/guests/guestspage.htm'); 

 

You're missing "Web_" :) 

 

-- 

Michael Preslar 

Engineer 

Sonitier 

Landline: (402) 614-3551 

Cell: (402) 990-8001 

 

 

 

-----Original Message----- 

From: Coolmax [mailto:coolmax{at}ddomain.bbs.us] 

Sent: Wednesday, June 21, 2006 9:18 PM 

To: EleBBS 

Subject: RE: EleBBS: Eleweb PAS Question 

 

 

* EleBBS Support List 

 

Hi Michael 

 

 

 

 

 

I tried those examples you gave me and I was constantly getting errors 

 

With compiling. 

 

 

 

Here is the code I have now 

 

 

 

*** Top Of Script *** 

 

--------------------------- 

 

Const 

 

HTML_main_leftm_tpl = 'blocks/members/main_left.htm'; 

 

HTML_main_leftg_tpl = 'blocks/guests/main_left.htm'; 

 

 

 

 

 

 

 

*** Half Way Down *** 

 

------------------------------ 

 

If web_IsLoggedOn then 

 

Begin 

 

ShowHtmlFile(HTML_main_leftm_tpl); 

 

End 

 

Else 

 

Begin 

 

ShowHtmlFile(HTML_main_leftg_tpl); 

End; 

 

 

 

 

 

This is part of the error log 

 

 

 

342 if web_IsLoggedOn then 

 

344 begin 

 

344 ShowHtmlFile(HTML_main_leftm_tpl); 

 

**** ^ 0------------------- 

 

344 end 

 

344 else 

 

344 Begin 

 

345 ShowHtmlFile(HTML_main_leftg_tpl); 

 

**** ^ 0------------------- 

 

 

 

*** Errors encountered during compile: 

 

 

 

 

 

I'm wondering if the rest of the script has something to do with this 

Error. 

 

 

 

 

 

 

 

 

--- Coolmax 

 

 

 

 

 

 

 

-------Original Message------- 

 

 

 

From: Michael Preslar 

 

Date: 06/22/06 10:18:35 

 

To: elebbs{at}thebbs.org 

 

Subject: RE: EleBBS: Eleweb PAS Question 

 

 

 

* EleBBS Support List 

 

 

 

Never done any elebbs hacking but going from the code you pasted the 

 

Following should be similar to what you want 

 

 

 

If web_IsLoggedOn then 

 

Begin 

 

Web_ShowHtmlFile('blocks/members/memberspage.htm'); 

 

End 

 

Else 

 

Begin 

 

Web_ShowHtmlFile('blocks/guests/guestspage.htm'); 

End; 

 

 

 

OR .. If you don't like begin/end pairs (I do, but that's just me) you 

 

Can do 

 

 

 

If web_IsLoggedOn then 

 

Web_ShowHtmlFile('blocks/members/memberspage.htm') 

 

Else 

 

Web_ShowHtmlFile('blocks/guests/guestspage.htm'); 

 

 

 

Note that without the begin/end pairs, the first web_Show* does not have 

 

 

A trailing ; while the last one does. 

 

 

 

I don't know if those paths are correct, but if you can recompile 

 

Eleweb, and based on your rep for modding eleweb, then I figure you can 

 

Change the paths to what they need to be. 

 

 

 

-- 

 

Michael Preslar 

 

Landline: (402) 614-3551 

 

Cell: (402) 990-8001 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

_______________________________________________________________ 

 


--- Internet Rex 2.29
* Origin: The gateway at The Snake (2:280/4312.101)
SEEN-BY: 633/267 270
@PATH: 280/4312 774/605 123/500 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.